# InputContext

Roblox Engine API class from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- Inherits from, nearest first: [Instance](https://rapi.sleaze.dev/classes/Instance.md), [Object](https://rapi.sleaze.dev/classes/Object.md)
- Memory category: Instances
- HTML page: https://rapi.sleaze.dev/classes/InputContext/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/classes/InputContext

Collection of actions which holds related actions and defines how they interact with other contexts/actions.

## Properties

### Enabled

```luau
InputContext.Enabled: boolean = true
```

- Tags: Read capabilities: Input

Determines if this [`InputContext`](https://rapi.sleaze.dev/classes/InputContext.md) is enabled or not.

### Priority

```luau
InputContext.Priority: number = 1000
```

- Tags: Read capabilities: Input

The priority level at which the context should be run.

### Sink

```luau
InputContext.Sink: boolean = false
```

- Tags: Read capabilities: Input

Determines whether input bindings of lower priority will be processed.

### Editor

```luau
InputContext.Editor: boolean = false
```

- Tags: Not replicated, Not scriptable, Roblox script security, Read capabilities: Input

## Methods

### GetInputActions

```luau
InputContext:GetInputActions(): { Instance }
```

- Tags: Roblox script security, Capabilities: Input

## Events

### InputActionsChanged

```luau
InputContext.InputActionsChanged: RBXScriptSignal<()>
```

- Tags: Roblox script security, Capabilities: Input

## Inherited members

- From [Instance](https://rapi.sleaze.dev/classes/Instance.md): `Archivable`, `archivable`, `Attributes`, `AttributesReplicate`, `AttributesSerialize`, `HistoryId`, `Name`, `Parent`, `PredictionMode`, `PropertyStatusStudio`, `RobloxLocked`, `SerializedOverrides`, `SourceAssetId`, `Tags`, `UniqueId`, `numExpectedDirectChildren`, `DataCost`, `Capabilities`, `DefinesCapabilities`, `IsInSandbox`, `Sandboxed`, `AddTag`, `ClearAllChildren`, `Clone`, `Destroy`, `FindFirstAncestor`, `FindFirstAncestorOfClass`, `FindFirstAncestorWhichIsA`, `FindFirstChild`, `FindFirstChildOfClass`, `FindFirstChildWhichIsA`, `FindFirstDescendant`, `GetActor`, `GetAttribute`, `GetAttributeChangedSignal`, `GetAttributes`, `GetChildren`, `GetDebugId`, `GetDescendants`, `GetFullName`, `GetStyled`, `GetStyledPropertyChangedSignal`, `GetTags`, `HasTag`, `IsAncestorOf`, `IsDescendantOf`, `IsPropertyModified`, `QueryDescendants`, `RemoveTag`, `ResetPropertyToDefault`, `SetAttribute`, `WaitForChild`, `Remove`, `children`, `clone`, `destroy`, `findFirstChild`, `getChildren`, `isDescendantOf`, `remove`, `AncestryChanged`, `AttributeChanged`, `ChildAdded`, `ChildRemoved`, `DescendantAdded`, `DescendantRemoving`, `Destroying`, `StyledPropertiesChanged`, `childAdded`
- From [Object](https://rapi.sleaze.dev/classes/Object.md): `ClassName`, `className`, `GetPropertyChangedSignal`, `IsA`, `isA`, `Changed`
