The If Key Pressed code block allows anything that comes to mind to be activated Only if a certain key is pressed by the player.
MORE INFORMATION