center(): Vec2
Get the center point of view.// add bean to the center of the screen add([ sprite("bean"), pos(center()), // ... ])
// add bean to the center of the screen add([ sprite("bean"), pos(center()), // ... ])
Assets
Components
Component Types
Input
Events
Info
Math
Misc
Draw
Level
Plugins
Button Bindings