API Reference › Rect › Rect.y
method

Rect.y

Rect.y(r) -> fixed

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

Example

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