0 votes

I want to make a character select screen, that shows the image of the currently selected character. So tried grabbing the character, grabbing the sprite (Which has multiple frames) and set the textureRect,texture to the Sprite,texture.

The problem is that the textureRect shows the whole sprite sheet and does not take into account the region, the frame setting, margins, etc.

Is there a way to get the currently drawn version of a sprite and pass that into a texture?

in Engine by (71 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.