The present invention discloses a method for controlling behavior of a game role. The method comprises: constructing a spatial Cartesian coordinate system by using a predetermined point in a game interface on a screen as an origin, wherein a plane defined by an X-axis and a Y-axis is parallel to the screen, and a Z-axis is perpendicular to the screen; based on the spatial Cartesian coordinate system, constructing a virtual three-axis joystick by using the origin as a central point, wherein coordinates of a control point when a user performs a touch operation are input as variables of an X-axis and a Y-axis of the virtual three-axis joystick, and a touch pressure is input as a variable of a Z-axis; when a game is running, acquiring the coordinates of the control point and a touch pressure value in a touch signal when the user operates the virtual three-axis joystick, and calculating an offset of the control point relative to the central point; and controlling a role to conduct corresponding behavior according to the offset and the touch pressure value. According to the method for controlling behavior of a game role provided by the present invention, by imparting the touch screen pressure value to the Z-axis, a virtual remote control of the three axes is constructed; and by outputting the pressure value as the control signal, different functions of the role is controlled, so that under the premise of not increasing the number of the virtual joystick or adding the complexity of the operation, more control to the role is achieved.