This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
+1 vote

Everything is in the title.
I'd like to use spritesheets for my texture buttons but apparently, TextureButton or TextureRect can't be both used that way. I love to put a certain order to my assets directory, that's why I would prefer to not using different image files just for texturing several phases of the same button.

Thanks in advance.

Godot version 3.4.4
in Engine by (35 points)

2 Answers

0 votes

Nobody? I thout this would be a simple question...

by (35 points)
0 votes

Yes, you can.
For use spritesheets with TextureButton or TextureRect, choose New AtlasTexture and place your spritesheet to atlas property into AtlasTexture resource.
And adjust region to adapt spritesheet to texture node.

by (144 points)

Thanks you, it worked!

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 Frequently asked questions and 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 [email protected] with your username.