-
Tracing movement
I know this seems rather basic, but how can I trace if something is moving?
I don't mean trace(thing._x), but like trace("hello") if thing += 5. Is this possible?
-
I assume you mean trace the position of the moving object. You need to place the trace() statement inside an onEnterFrame function.
-
Why would you assume that when I said nothing about tracing position? Also, I was using trace as an example. I want to have something like if(thing._x += 5){ moveright=true }, but that doesn't work
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|