NAME
centre — the centre of a square, in pixels on the stage
SYNOPSIS
centre([x, y])
PARAMETERS
[x, y]: the square, (0, 0) at the bottom left.
RETURN VALUE
[left, top], in pixels from the stage's top left corner.
SEE ALSO
SOURCE
AUTHOR
Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.
COPYRIGHT
© Computational Classnotes · CC BY-NC-SA 4.0
