Function
center
(): Vec2Get the center point of view.
// add bean to the center of the screen
add([
sprite("bean"),
pos(center()),
// ...
])
returns
The center point of the view.
since
v2000.0
group
Info
Get the center point of view.
// add bean to the center of the screen
add([
sprite("bean"),
pos(center()),
// ...
])
returns
The center point of the view.
since
v2000.0
group
Info
Start
Assets
Game Obj
Components
Input
Events
Info
Math
Rendering
Draw
Debug
Plugins
Miscalenous