Download

Left mouse button event

Hey everyone,
I am trying to make it so when I overlap a sphere and click the left mouse button then the event will trigger but no matter what I do it seems to not want to work.

Hello,
To activate an event you need to have it called and as i don’t need any event for your lmb, nothing can happens. You need to set your two events, the overlap and the click. Or you use an event dispatcher (see in the content example the blueprint communication map) or you set a condition : Create a bool “active”. For your overlap : On begin overlap : set “active” true. On end overlap set "active “false”. For your click event : branch with active as condition : true : your event. False : nothing. (If this not in the same blueprint, you’ll have to “cast to” the dedicated blueprint.