Can you detect if a sprite is paused?

It would be nice if I could make a sprite in the shape of a pause icon, and have it show when the game is paused and hide when it isn’t.

You have a couple options:

  1. Make your own pause button. This will let you easily run scripts when the game is paused.
  2. Use this hat block I created:
    untitled script pic (29)
    The lag window input is in milliseconds and can be adjusted based on how much lag your project has. If the number is too low, it may trigger when the project is not paused, if the number is too high, there will be a noticeable delay before your script runs. Edit: This won't work if the stop button is pressed and the program started again. Working on a new version soon.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.