anchor(o: Anchor | Vec2): AnchorComp
Anchor point for render (default "topleft").
param
o- The anchor point to set.
// set anchor to "center" so it'll rotate from center add([ rect(40, 10), rotate(45), anchor("center"), ])
returns
The anchor comp.
since
v2000.0