-- Define the script's data and inputs. type MyNode = { onReset: Input<Trigger>, } -- Return a factory function that Rive uses to build the Node instance. return function(): Node<MyNode> return { onReset = function() end, } end
Was this page helpful?