API Reference › Rect › Rect.x
method

Rect.x

Rect.x(r) -> fixed

Reads the left edge — the x position of the rectangle's top-left corner.

Example

program Demo {
  handler Step phase Update {
    let left = Rect.x(hud)
  }
}
← All symbols