Script visibility to number of taps
Hi, I'm looking for assistance making a script to control layer visibility based on the number of screen taps.
eg. tapping 3 times will toggle visibility of a layer on or off.
My plan is to have multiple of these scripts in place, so would need to scale the number of taps variably for each effect.
Hi Chunkeyninja
I made a quick script for you, and I didn't restrict it to 3 taps, I made it as an input where you can define how many inputs you want! and the layer you want to hide.
I know this will be helpful for me in the future too.
That is amazing Abdullah Al-Mahya. Thank you!
Out of interest since I'm a complete scripting novice, would this also enable the layer again if the screen was tapped that number of times again?
Essentially im trying to toggle the layer on and off - and I'll be macroing buttons on my keyboard to press the interaction key that set number of times.