Disable screensaver widget on Anykey press
Not sure why you are creating widgets on tick....very bad idea you're going to end up with hundreds of the widget in the view port. Find a better way to determine if the screen saver should play. Then create widget if the player is inactive for "X" seconds. Then on any key pressed, check "is valid" on the widget object, if true it will execute whatever is after, if false, it will do nothing. This way it only works if the widget exists.
answered Feb 06 '19 at 08:05 PM
Nebula Games Inc
Follow this question
Once you sign in you will be able to subscribe for any updates here