Check if the FlxObject is inside the given rectangle


/ Published in: ActionScript 3
Save to your folder(s)

Simple snippet to check is Flixel's flxObjects position according to a rectangle.
It will return true if it's inside the rectangle, false if not.

Very basic primitive box collision checking.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.