Class GGInteractable2DStrategyExpression extends GGInteractable2DStrategy
Provides interaction logic using an expression.
This interactable strategy uses the [Expression] class to let developers create interaction logic without having to create an entirely new strategy.
# Members
## The referenced node will be available in the expression as the [code]target[/code] variable.var target_node_path: NodePath## This expression will be evaluated when the interaction takes place. The following variables are available: [code]actor[/code], [code]interactable[/code], [code]interactor[/code], [code]target[/code]. [br][br][b]Note[/b]: The expression is evaluated in the context of the [GGInteractable2DStrategy]. In other words, [code]self[/code] is the [GGInteractable2DStrategyExpression].var expression: String = ""# Methods
func interact(interactor: GGInteractor2Dinteractable: GGInteractable2D) -> void