Home 4 › Forums › iOS / tvOS Starter Kits › The Story Tellers Kit 2 for iOS or tvOS Apps › Button Push
This topic contains 2 replies, has 2 voices, and was last updated by Jeff Keeme 3 years, 10 months ago.
How do I change the texture of a button when pressed?
Ex. Left Arrow button is pressed and the texture changes to an arrow with a glow and when released the original texture is restored.
Sure, see this page…
Skip down to Triggering Events with Touches
You’ve got TouchEvent and TouchUpEvent. You would want to trigger the texture change on TouchEvent and then set it back to normal on TouchUpEvent.
Then scroll down a bit and you’ll find the SetTexture event.
Thanks Justin. Very easy.
You must be logged in to reply to this topic.
Know what an affiliate program is? You make money just by sharing links to our site! Win. Win.
Earn when you refer any buyer here! 30 day tracking. Commissions are 33%-50% and recur on subscription products!
Uh oh, missing your affiliate ID. Create one real quick