Hotspot

Extends: TextureButton

Description

A simple hotspot which can also move to a target scene upon pressing

Property Descriptions

cursor_type

export var cursor_type = 1

The cursor type

target_scene

export var target_scene = ""

If set, changes to the given scene

target_view

export var target_view = ""

effect

export var effect = "[Object:null]"

If set, plays a sound effect when the hotspot is pressed and the scene is changed

visibility_state

export var visibility_state = ""

Show this hotspot depending on the boolean value of this state variable

show_indicator

export var show_indicator = true

Whether to show the hotspot indicator or not

Signals

  • signal activate(): A signal that can be connected to for custom actions of this hotspot