Enable/Disable Input

The Enable Input and Disable Input nodes are Functions used to define whether an Actor should respond to inputs Events such as keyboard, mouse, or gamepad. The nodes need a reference to the Player Controller class in use.

A common use of these nodes is to allow an Actor to only receive input events when the player is near the Actor. In the next screenshot, the Enable Input node is called when the player begins to overlap the Blueprint. When the player finishes overlapping the Blueprint, the Disable Input node is called:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset