BP static mesh component to an array

It’s not. Input belongs in the Player Controller / Pawn and should not be enabled for actors, not under regular circumstances at least. For example:

Allows you select any Static Mesh Component in the scene and reference it in the PC every actor has access to via a cast (if at all needed).


If you’re ever going to have 1 actor with 2 cylinders only, and nothing else, then you could handle the input in the actor, I guess.

Hard to advise without knowing what you’re up to! Your script looks as if you were trying to select-click a component, move it around while a LMB is held and then let go. Essentially, click and drag. I might be wrong, ofc.