Base Input
Functions​
Returns | Name | Description |
---|---|---|
Base Input | SetEnabled | Allows enabling/disabling of the input |
boolean | IsEnabled | Whether the input is enabled |
SetEnabled​
Allows enabling/disabling of the input
Returns the
Base Input
(self)
input:SetEnabled(false)
Type | Parameter | Default Value | Description |
---|---|---|---|
boolean | state | Whether its enabled |
IsEnabled​
Returns
boolean
whether its enabled
if input:IsEnabled() then
Package.Log("Input is enabled")
else
Package.Log("Input is disabled")
end