Files
LNXSDK/leenkx/Sources/leenkx/logicnode/AlertNode.hx

18 lines
249 B
Haxe
Raw Normal View History

2025-01-22 16:18:30 +01:00
package leenkx.logicnode;
class AlertNode extends LogicNode {
public function new(tree: LogicTree) {
super(tree);
}
override function run(from: Int) {
#if kha_html5
js.Browser.window.alert(inputs[1].get());
#end
runOutput(0);
}
}