Page 1 of 1

Button Click Mobile Only?

Posted: Mon Sep 24, 2018 1:05 am
by TheRealMojoJojo
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!

Re: Button Click Mobile Only?

Posted: Mon Sep 24, 2018 1:56 am
by hromain
Try setting an action filter (the button with two separating arrows) for the mouse click action so the trigger Player > Is Mobile = true

Re: Button Click Mobile Only?

Posted: Mon Sep 24, 2018 10:37 am
by Tony
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.

Re: Button Click Mobile Only?

Posted: Wed Sep 26, 2018 9:24 am
by TheRealMojoJojo
Worked like a charm. I used Tony's way, couldn't figure out the other way :-)

Thanks All!