IBasicRobotPeer GetX Method Robocode Robot API for .NET
Returns the X position of the robot. (0,0) is at the bottom left of the battlefield.

Namespace: Robocode.RobotInterfaces.Peer
Assembly: robocode (in robocode.dll) Version: 1.9.2.0
Syntax

double GetX()

Return Value

Type: OnlineDouble
See Also