Player
Beginnernet.runelite.api
Represents the local player character. Provides access to player information like stats, location, and equipment.
Inheritance
Actor→Player
Category
Game State
Methods
3
Properties
1
Methods (3)
Properties (1)
animation
intThe current animation ID the player is performing
java
1int animId = player.getAnimation();
2if (animId == 808) {
3 // Player is attacking
4}