API Reference › IVec2 › IVec2.y
method

IVec2.y

IVec2.y(v) -> int

Reads the y (row) component of an IVec2 as a plain int.

Example

program Demo {
  handler Step phase Update {
    let row = IVec2.y(IVec2.make(4, 7))
  }
}
← All symbols