JuniorRobot ScannedVelocity Property Robocode Robot API for .NET
Current velocity of the scanned nearest other robot. If there is no robot in the radar's sight, this field will be -99. Note that a positive value means that the robot moves forward, a negative value means that the robot moved backward, and 0 means that the robot is not moving at all. This field will not be updated while OnScannedRobot  event is active.

Namespace: Robocode
Assembly: robocode (in robocode.dll) Version:

public int ScannedVelocity { get; }

Property Value

Type: OnlineInt32
See Also