Trigger to disable controls

This is probably simple, i’m making my first game starting with the rolling template and i want to do this:
when you pass the trigger box, it should disable the controller inputs. i don’t know how to set up a trigger box so i need help here.

  • Add a box trigger into the scene. Edit the blueprint (blue button on the right, I already have it set up).

  • Now, in the blueprint, add an On Component Overlap event by selecting the collision component in the components box and clicking the green button on the bottom right I drew an arrow on. Now cast the other actor to your ball “PhysicsBallBP” and then disable input. Connect the player controller to that.

This should work pretty decently but you won’t be able to use keyboard buttons after

thanks! it was exactly what i was trying to do!