Button Click Mobile Only?

Q&A about the latest versions
Post Reply
User avatar
TheRealMojoJojo
Posts: 341
Joined: Thu Sep 20, 2018 10:18 pm

Hi,

Is there any way to make a button only clickable on mobile devices? I have a VR Mode button but only want it to be clickable when the user is on a mobile device.

Any help is always appreciated!

Thanks!
hromain
Posts: 42
Joined: Wed Apr 11, 2018 12:12 pm

Try setting an action filter (the button with two separating arrows) for the mouse click action so the trigger Player > Is Mobile = true
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Just uncheck the button's visibility and in the Visible logic block add a trigger 'ismobile' = 'true' visible: true. When viewed on a mobile device the button will show up and will be clickable on anything else it's hidden.
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
TheRealMojoJojo
Posts: 341
Joined: Thu Sep 20, 2018 10:18 pm

Worked like a charm. I used Tony's way, couldn't figure out the other way :-)

Thanks All!
Post Reply