← Back to extensions
Vector Math
Create and calculate 2D vectors to handle angles, distances, and directional velocity for sprites in MakeCode Arcade.
Pick a tool from the list on the left to see what it does, its parameters, and a copy-pasteable example. This extension has 2 documented tools.
Or open the extension directly in MakeCode Arcade: Import pxt-arcade-vector-math.