SHIP:Property:box:over

From Serious Documentation
Jump to: navigation, search

Node: box in the Layout Area

Property Data Type Description
over Boolean If true the touchscreen is currently pressed within the bounds of the outer area of the box.

The over property reflects the real-time state of the touchscreen as pressed over the bounds of the outer-area of the box.

The property will transition true when the touchscreen is pressed inside the box, whether this is a new touch down event or the finger/stylus is already pressed and moves into the box. The property will go false when the touchscreen is release or the pressed finger/stylus moves outside the outer bounds of the box.

If the any displayable parent node's visible property goes false while over is true, the over property will transition to false immediately before the box is made invisible, hence listeners to box.over will receive this transition-to-false event.

If the any layout area parent node's enabled property goes false while over is true, the over property will transition to false afterwards, hence any enclosed listeners will not receive this transition.

This property is only relevant on box nodes in the layout area.