Skip to content

$getObjectProperty

$getObjectProperty will return a object property of a given object.

Usage

$getObjectProperty[objectName;property]

Parameters

FieldTypeDescriptionRequired
objectNamestringThe object name.true
propertystringName of the properties.true

Example(s)

This will return the object property of “Leref” created in $createObject:

1
client.command({
2
name: "getObjectProperty",
3
code: `
4
$getObjectProperty[Object Name;Leref]
5
$createObject[Object Name;{"Leref": "Ferel"}]
6
`
7
});