Skip to main content
POST
/
input
/
context
/
push
push an input context
curl --request POST \
  --url http://localhost:3917/input/context/push \
  --header 'Content-Type: application/json' \
  --data '
{
  "context": "menu"
}
'
{
  "ok": true,
  "message": "<string>"
}

Body

application/json

The context to push onto the input stack: gameplay (default), menu, or editor.

The body is of type any.

Response

200 - application/json

Context pushed onto the input stack.

ok
boolean
required
message
string | null