DarwinBotsManual
Open the app EspañolES

.trefvelyoursx

The leftward sideways velocity of the tied bot, measured from its own front: a copy of its .velsx.

Facts

Address
445
Name
.trefvelyoursx
Kind
Sense: the engine writes it for the DNA to read
Group
What it feels through a tie (tref*)
Written by
The engine, in the forces and collisions phase: it copies the .velsx published by the tied bot. You read it in the next cycle.
Cleared
The engine, when you run out of ties or don't have the tie that .readtie asks for.
Range
−32000 to 32000
Mutations
picked as a read (*)

It is the .velsx of the tied bot, which always equals its .veldx with the sign flipped. So this sysvar is .trefvelyourdx with its sign flipped: positive if the other slides toward its left.

' If the tied bot slides to its left, cell 50 is 1
cond
*.numties 0 >
*.trefvelyoursx 0 >
start
1 50 store
stop