PhysicsScale

Family: 2DPhysics · One form

What it does

PhysicsScale writes to a 2DPhysics object: it sets rather than reads. It takes scale (a float), and returns nothing.

Syntax

PhysicsScale(scale float)

Parameters

NameType
scalefloat

Every form returns

nothing

Example · generated

PhysicsScale(1.0)DO  Sync()LOOP

PhysicsScale is called with values of the types its signature asks for. 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.

66 commands in 2DPhysics