Vector3Distance

Family: Maths · One form

What it does

Vector3Distance takes vectorU (an integer) and vectorV (an integer), and answers a float.

Syntax

Vector3Distance(vectorU integer, vectorV integer) → float

Parameters

NameType
vectorUinteger
vectorVinteger

Every form returns

float

Example · generated

DO  Print(Vector3Distance(1, 1))  Sync()LOOP

Vector3Distance is called and its answer is printed every frame. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.

12 commands in Maths