Hi. i've been using stuidio for a good while now and have been using the user input service just fine but when i see other people code or watch tutorials on youtube people add in an extra parameter to the input function, "gameProcessed". could some one please explain to me what it does and how to use it correctly as it does not seem to work for me.
Uis.InputBegan:Connect(function(inputObject, gameProcessed)
if inputObject.KeyCode == Enum.KeyCode.E and gameProcessed then
print("Blahblahblah")
end
end)

1 comment
This was taken from the Roblox API Reference: "Indicates whether the game engine internally observed this input and acted on it. Generally this refers to UI processing, so if a button was touched or clicked from this input, gameProcessedEvent would be true. This is also true for input events connected via ContextActionService"