- Sketch’s main canvas reference is inside undocumented variable _renderer.
- Its coordinates are _renderer.x & _renderer.y.
- Its dimensions are width & height.
- Use those values above as base for method p5.Element::position().
1 Like