Skip to content

ResponseButton ​

Inherits: MarginContainer

A response option button in the conversation UI

Variables ​

booldisabledfalse

Methods ​

voidset_response_text( text: String )
voidset_disabled( is_disabled: bool )

Signals ​

button_clicked() ​

Emitted when the player clicks the response.

Variable descriptions ​

bool disabled = false ​

True when the response cannot be picked.

Method descriptions ​

void set_response_text( text: String ) ​

Sets the text of the response.

void set_disabled( is_disabled: bool ) ​

Greys the response out, or not.