Hey everyone!
I have to use the ContextActionService to create a custom jump button for my game.
I’m not going to get into why I need to replace the default one.
My question is, what is this jump button’s id?
I have it all set up except for the image
I have already tried looking inside the playerGUI but cant seem to find the right image.
Anyone happen to know the id, or know how to find it?
Thanks!
1 Like
Mobile emulator → Launch a test session (F5) → Players → Your player → PlayerGui → TouchGui → TouchControlFrame → JumpButton → Image
rbxasset://textures/ui/Input/TouchControlsSheetV2.png
This is a spritesheet so you have to look at the rect properties. Specifically, an offset of 1, 146
and a size of 144, 144
.
Did you overlook it or is this not what you were asking for? If you at the very least were able to take a screenshot of the button, then surely you could also have found this?
5 Likes
Thank you soooo much. I completely overlooked that this was a spitesheet. My brain wasn’t thinking that direction. Appreciate the help!