Please enable JavaScript to view this site.

ESL Documentation

Object Inquiry Built-in Function

Return the current selectability of an object.

selectability of OBJECT_NAME

OBJECT_NAME

The identifier for an object.

Description

The value returned by ESL is the boolean (true or false) associated with the selectability of the specified object. If the object is selectable (enabled), the value true is returned; if it is not selectable (disabled), the value false is returned.

This function is not applicable to items.

Example

 

response to SendQuest

 if (selectability of Hold) then

         ...

 end if

See Also

enable and disable Action Statements

enabled and disabled Attribute Definitions