Button Click Mobile Only?

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

Button Click Mobile Only?

Post by 1uv3 » Mon Sep 24, 2018 1:05 am

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!
Creative expression is the Universe's only way of experiencing every configurative atomic possibility capable within a finite Universe.

hromain
Posts: 30
Joined: Wed Apr 11, 2018 12:12 pm

Re: Button Click Mobile Only?

Post by hromain » Mon Sep 24, 2018 1:56 am

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: 877
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Re: Button Click Mobile Only?

Post by Tony » Mon Sep 24, 2018 10:37 am

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: http://tonyredhead.com - http://redsquare.com | roundme: http://round.me/@tonyredhead | instagram: https://www.instagram.com/tonyredhead/

User avatar
1uv3
Posts: 339
Joined: Thu Sep 20, 2018 10:18 pm

Re: Button Click Mobile Only?

Post by 1uv3 » Wed Sep 26, 2018 9:24 am

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

Thanks All!
Creative expression is the Universe's only way of experiencing every configurative atomic possibility capable within a finite Universe.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 9 guests