Inspect.Cursor

Returns the current contents of the cursor.

Usage:

type, held = Inspect.Cursor()
ParameterTypeDatatypeDescription
heldresultvariant, nilThe blob describing what is currently held. Generally, some kind of identifier used in another part of the addon system.
typeresultstring, nilThe current cursor type. Valid values include "ability", "item", "itemtype", and nil.