Tribot SDK
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Tribot SDK
script-sdk
/
org.tribot.script.sdk
/
Combat
/
getAttackingPlayer
get
Attacking
Player
open
fun
getAttackingPlayer
(
)
:
Optional
<
Player
>
Gets the player that we are attacking
Return
the player that we are attacking