math · reference
map·
Moves a number from one range into another: map(mouseX, 0, 600, 0, 255).
- use
map(value, start1, stop1, start2, stop2)- value
- the block starts with
0.9 - start1
- the block starts with
0 - stop1
- the block starts with
1 - start2
- the block starts with
0 - stop
- the block starts with
100 - kind
- a value: it goes inside another block
- drawer
- Math, in the code room's blocks
player two knows this block
Ask it how map works in your game.