Hello,
Sorry if this is a newbie question as I am only starting out with GUI's but I am trying to make a circle's border grow larger then shrink back down to its original size when pressed using .OnTapGesture.
I started out by using a state var "IsPressed" which when true would grow the border and when false would shrink to the original value, but Could only toggle the booleans value when pressed not make go to true, then a moment later go to false.
I have also tried setting the variable back to false using a single run timer but that did not work either and seems overly complicated for which I am sure there is a simple solution I am missing.
Any on how to mend this issue would be appreciated as I have been stuck for two days now.
Thanks!
Sorry if this is a newbie question as I am only starting out with GUI's but I am trying to make a circle's border grow larger then shrink back down to its original size when pressed using .OnTapGesture.
I started out by using a state var "IsPressed" which when true would grow the border and when false would shrink to the original value, but Could only toggle the booleans value when pressed not make go to true, then a moment later go to false.
I have also tried setting the variable back to false using a single run timer but that did not work either and seems overly complicated for which I am sure there is a simple solution I am missing.
Any on how to mend this issue would be appreciated as I have been stuck for two days now.
Thanks!