GetDefBottom

Category: Objects / Status
Since engine version: 4.9.1.0 GWE (extended in 4.9.1.0 GWE)

Description

Determines the lower limit of an object. This corresponds to y position + DefCore OffsetY + DefCore Height. Object rotation is not taken into consideration.

Syntax

int GetDefBottom (object pObj);

Parameter

pObj:
[opt] Object of which to determine the lower limit.

Example

Exit(Contents(), 0, GetDefBottom()-GetY());
Exits the first contained object to the container's bottom center.
See also: GetY
Sven2, April 2002