different variable unit value on mobile and desktop

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
d-zimin
Posts: 30
Joined: Thu May 21, 2020 12:04 pm

Hello. I use variable for map visible. Unit value in it is "true" (ON) on default. But the map is big for default view on mobile and I want to make Unit value "false" (OFF) on mobile. How is it supposed to make map be ON on desktop but OFF on mobile?
Attachments
map-tst.zip
(412.43 KiB) Downloaded 213 times
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Add the following action and action filter to any element in your skin or even a container.
I am using the element "map-plan" in your skin.

Screenshot 2021-08-26 at 12.28.30.png
Screenshot 2021-08-26 at 12.28.30.png (114.6 KiB) Viewed 1591 times

Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
d-zimin
Posts: 30
Joined: Thu May 21, 2020 12:04 pm

Thank you! It works!
Post Reply