Check if the given item is triggered.
If the item is a mouse button, it will be triggered on release. If it's a keyboard key or gamepad button, it'll be triggered on press.
See Implementation
Check if the given item is triggered.
If the item is a mouse button, it will be triggered on release. If it's a keyboard key or gamepad button, it'll be triggered on press.