A method for controlling a virtual character to cast a skill includes: displaying a first virtual character and a skill control configured to cast a ranged skill; in response to detecting a trigger operation on the skill control: displaying a ranged skill indicator. The ranged skill indicator is configured to indicate a casting range of the ranged skill according to the skill control, the casting range having a first boundary point and a second boundary point, the first boundary point is determined based on a location of the first virtual character, and the second boundary point is determined based on a location of the drag control. The method includes changing at least one of a shape or an area of the casting range in response to a drag operation on the drag control. The method allows a user to efficiently attack enemy virtual characters in accordance with a determination that locations of the enemy virtual characters are scattered, improving a processing efficiency of an electronic device.
Full Text
What is claimed is: