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)
}
}Rect.y(r) -> fixed
Reads the top edge — the y position of the rectangle's top-left corner.
program Demo {
handler Step phase Update {
let top = Rect.y(hud)
}
}