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.types
/
GraphicObject
Graphic
Object
open
class
GraphicObject
:
Positionable
,
Identifiable
Represents a special type of graphical object. Not the same as
GameObject
.
See also
Query
Members
Constructors
Graphic
Object
Link copied to clipboard
constructor
(
graphicObject
:
RSGraphicObject
)
Functions
adjust
Camera
To
Link copied to clipboard
open
fun
adjustCameraTo
(
)
:
Boolean
Moves the camera to a position where the given entity or position is in view.
distance
Link copied to clipboard
open
fun
distance
(
)
:
Int
Determines the distance between this entity/tile and the local player
distance
To
Link copied to clipboard
open
fun
distanceTo
(
position
:
Positionable
)
:
Int
Determines the distance between this entity/tile and the given entity/tile
equals
Link copied to clipboard
open
fun
equals
(
o
:
Any
)
:
Boolean
get
Height
Link copied to clipboard
open
fun
getHeight
(
)
:
Int
get
Id
Link copied to clipboard
open
fun
getId
(
)
:
Int
Gets the ID of the entity
get
Tile
Link copied to clipboard
open
fun
getTile
(
)
:
WorldTile
Gets the WorldTile of this entity/position
hash
Code
Link copied to clipboard
open
fun
hashCode
(
)
:
Int
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String