Extensions |
The frame table exposes several read-only fields that give information about current frame. It also exposes a couple methods relating to the frame's collision mask.
Frame Fields (Read-Only)
These fields can be accessed, but not updated.
number | height | Height of the frame |
number | virtualHeight | Virtual height of the frame |
number | virtualWidth | Virtual width of the frame |
number | width | Width of the frame |
number | xLeft | X coordinate of the left edge of the frame |
number | xRight | X coordinate of the right edge of the frame |
number | yBottom | Y coordinate of the bottom edge of the frame |
number | yTop | Y coordinate of the top edge of the frame |
Frame Methods
Click on each function for more information.
boolean | testPoint() |
boolean | testRect() |
Copyright 2010 Justin Aquadro