mirror of
https://github.com/TangentFoxy/Pop.Box.git
synced 2024-12-15 12:44:20 +00:00
15 lines
613 B
Markdown
15 lines
613 B
Markdown
# Excludes
|
|
|
|
Any element can have a few boolean values set to exclude it from normal
|
|
operations for movement, rendering, and updating. Simply set the appropriate
|
|
value to a true value.
|
|
|
|
Note that any element using one of these excludes its children as well.
|
|
|
|
- `excludeMovement` Excludes movement caused by a parent being moved.
|
|
- `excludeUpdate` Excludes an element from being updated (by `pop.update()`).
|
|
- `excludeDraw` Excludes being rendered (by `pop.draw()`).
|
|
|
|
**Note**: `excludeDraw` also excludes an element from accepting events (it
|
|
wouldn't make sense to have an invisible element capturing text input).
|