Check if movieclip exists on stage
Hello, I am trying to write some simple code that checks to see if an object exists on the stage. But I'm not really sure how this is supposed to work. If I check if it's on the stage i get a conversion error. If I try to do a simple if exists statement it always returns true. I just want to check if an object exists on every frame, and if it exists, pull it's coordinates.
I attached a small piece of sample code. This should be simple but actionscript makes it so difficult...
https://drive.google.com/file/d/1fFEMDH80YPql0su2UOtnRkWgd4DbpZCP/view?usp=sharing
