Are there any elegant ways to check whether an object is within visible part of the screen - something similar to "Check position" (which checks for the play area, not onscreen presence)? I know this sounds simple to do, but open the example and you`ll see what`s the problem.
It actually works but it`s way too clumsy, not to mention it`d get super messy if I have to put in a few objects that have their own effects.
Attachments
WhereIsThePlayArea 004.mfa (23 downloads)Description: For the test, I just made it so that when the red object is outside the screen the music is paused and when it gets back on screen the music is restarted.
Cursor keys to move.