Skip to main content Skip to complementary content

GetInteract method

Overview

Retrieves information on the user interaction that is requested by the engine.

Engine can request user interactions only during script reload and when the reload is performed in debug mode (qDebug is set to true when using the DoReload method).

When running reload in debug mode, the engine pauses the script execution to receive data about user interaction. The engine can pause:

- before executing a new script statement

- when an error occurs while executing the script

- when the script execution is finished.

To know if the engine is paused and waits for a response to an interaction request, the GetProgress method should be used. The engine waits for a response if the property qUserInteractionWanted is set to true in the response of the GetProgress request.

Parameters

Name Description Type
qRequestId

Identifier of the request.

Corresponds to the identifier of the DoReload request.

Integer

Outputs

The following is returned in the output:

Name Description Type
qDef

Information to set up the user interaction.

Indicates which kind of interaction is wanted.

InteractDef

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!