Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.32 KB

README.md

File metadata and controls

55 lines (36 loc) · 1.32 KB

ContextControls

CI Docs

Wrapper around ContextActionService that provides a clean API for creating and binding actions.

Usage

local ContextControls = require(game.ReplicatedStorage.ContextControls)

local action = ContextControls.createAction({
    name = "foo",
    inputTypes = {
        Enum.KeyCode.E,
        Enum.KeyCode.ButtonX,
    },
    callback = function(input: InputObject)
        print("Hello world!")
    end,
})

action:bind()

Installation

Wally

Add the following to your wally.toml:

[dependencies]
ContextControls = "vocksel/[email protected]"

Model File

  • Download a copy of the rbxm from the releases page under the Assets section.
  • Drag and drop the file into Roblox Studio to add it to your experience.

Documentation

You can find the documentation here.

Contributing

See the contributing guide.

License

MIT License