Player

Beginner

net.runelite.api

Represents the local player character. Provides access to player information like stats, location, and equipment.

Inheritance

ActorPlayer
Category
Game State
Methods
3
Properties
1

Methods (3)

Properties (1)

animation

int

The current animation ID the player is performing

java
1int animId = player.getAnimation();
2if (animId == 808) {
3    // Player is attacking
4}

Related Classes

Plugins Using This Class