Forest Logo
search
package_2

spark

By @nezuo

Roblox

Mirrored from Wally

This version ships no README. Showing the README from v0.2.0, mirrored from wally.

Spark

Spark is an input-action manager for Roblox.

Features

  • Supports button, 1D, and 2D inputs.
  • Create virtual 1D/2D inputs using VirtualAxis1d/VirtualAxis2d.
  • Store all your input mappings in a single InputMap object.
  • Rebind inputs using APIs like InputMap:insert and InputMap:remove.

Example

local actions = Actions.new({"attack", "move" })

actions:justPressedSignal("attack"):connect(function()
    print("Attacked!")
end)

RunService.Heartbeat:Connect(function()
    print("Moved", actions:clampedAxis2d("move"))
end)

To get started, visit the docs.

Package Details

Install command (Click to copy)


Version

0.3.1

License

MIT

check_circle

Safe for commercial use

infoLicense identified from the packaged LICENSE file; the manifest declared none.

Automated license review — not legal advice.