--[[
	Fires when the local player begins input. Ignores all input except if
	the user presses `KEY`. If `KEY` is pressed opens the game GUI unless
	player already interacting with the game

	Arguments: 
		actionName - Name of the ContextActionService action
		userInputState - State of input
		inputObject - Contains info about input
	Returns: None
]]
--
local function toggleKeyboard(actionName, userInputState, inputObject)
	if not (userInputState == Enum.UserInputState.Begin) then return end
	toggleInteraction()
end
local function toggleMouse(playerWhoClicked)
	if playerWhoClicked then
		toggleInteraction()
	end
end

