API Reference › IVec2 › IVec2.along
method

IVec2.along

IVec2.along(origin, degrees, distance) -> IVec2

The point distance pixels from origin along degrees — the tip of an aim line, the centre of a melee arc.

Example

# doc-check: skip — illustrative
let tip = IVec2.along(hero, aim, 18)
← All symbols