I’m using object:pause() for some sprite objects when a scene is getting left but get the following error on the sprites:
attempt to call method ‘pause’ (a nil value)
What can cause this?
Maybe when the sprite already got paused before and the pause is called a second time?