Skip to content

Kaplay.Move

Modules

Comp

Values

addMoveComponent

Move towards a direction infinitely, and destroys when it leaves game view.

let addMove: (
Kaplay.Context.t,
Kaplay.Vec2.t,
float,
) => Kaplay.Types.comp
Return type