I'm trying to get a group of components to move to a new position once a custom property UVActuate is True, and then return to the original position when UVActuate becomes false.
The issue I'm having is that using the a group of components have no attribute propertyName. So this script is being called continuously for every event.
My work around is to use function decorator to run the translate function once.
I've tested my script and it executes once in a loop, but that doesn't make a difference in the runtime since it looks like the script is reinitialized each time an event happens.
There's probably a better implementation or method I should be using. Any suggestions or comments would be appreciated.