@vttforge/core / TokenObjectLike
Interface: TokenObjectLike ​
Extends ​
PlaceableObjectLike
Properties ​
actor ​
readonlyactor:ActorLike<Record<string,unknown>,ItemLike<Record<string,unknown>>> |null
bounds ​
readonlybounds:object
height ​
height:
number
width ​
width:
number
x ​
x:
number
y ​
y:
number
Inherited from ​
PlaceableObjectLike.bounds
center ​
readonlycenter:object
The point the object is centred on, in scene coordinates.
x ​
x:
number
y ​
y:
number
Inherited from ​
PlaceableObjectLike.center
combatant ​
readonlycombatant:CombatantLike<Record<string,unknown>> |null
controlled ​
readonlycontrolled:boolean
Inherited from ​
PlaceableObjectLike.controlled
document ​
readonlydocument:TokenDocumentLike
Overrides ​
PlaceableObjectLike.document
h ​
readonlyh:number
hover ​
readonlyhover:boolean
Inherited from ​
PlaceableObjectLike.hover
id ​
readonlyid:string
Inherited from ​
PlaceableObjectLike.id
inCombat ​
readonlyinCombat:boolean
isTargeted ​
readonlyisTargeted:boolean
isVisible ​
readonlyisVisible:boolean
Inherited from ​
PlaceableObjectLike.isVisible
name ​
readonlyname:string
w ​
readonlyw:number
Methods ​
control() ​
control(
options?):boolean
Parameters ​
options? ​
Record<string, unknown>
Returns ​
boolean
Inherited from ​
PlaceableObjectLike.control
release() ​
release(
options?):boolean
Parameters ​
options? ​
Record<string, unknown>
Returns ​
boolean
Inherited from ​
PlaceableObjectLike.release
setTarget() ​
setTarget(
targeted?,options?):void
Parameters ​
targeted? ​
boolean
options? ​
Record<string, unknown>
Returns ​
void