Skip to reading
GDScript Programming & Godot

SetVerbUsageEnabled()

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

Enable / Disable Verb Command Usage

Enable or disable verb usage at runtime.

Source table from SetVerbUsageEnabled(), page 197
Option key / fieldMeaning and inputDefault
Enabled enabledExplicit on/off state for the feature or response.true

Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.

Code example
await SetVerbUsageEnabled({"enabled": true})

In use. Disable normal verb selection while a special puzzle interface is active, then restore it. It does not remove authored verb definitions or their response lists.

ChangeGameCursor()#

Change Game Cursor

Change the runtime cursor to an authored cursor definition.

Source table from SetVerbUsageEnabled(), page 197
Option key / fieldMeaning and inputDefault
Cursor cursorIdChoose a Cursor Designer ID.Blank

Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.

Code example
await ChangeGameCursor({"cursorId": ""})

In use. Use a magnifier cursor for inspection. Hover feedback and interaction-mode logic may select other cursor states, so test the change while pointing at both ground and hotspots.

Page 197 of 378Permalink
Go to page