> ## Documentation Index
> Fetch the complete documentation index at: https://rive.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Input

Represents a typed input value.

```lua highlight={3,4,5,6} theme={null}
-- Define the script's data and inputs.
type MyNode = {
  speed: Input<number>,
  title: Input<string>,
  enabled: Input<boolean>,
  onReset: Input<Trigger>,
}

-- Return a factory function that Rive uses to build the Node instance.
return function(): Node<MyNode>
  return {
    speed = 1,
    title = 'Rive so coooool!',
    enabled = false,
    onReset = function() end,
  }
end
```
