How to click and drag actors with mouse?

Hey @Samathan,

Great question! Can you expand at all on the problems you face when running this function on tick?

Hi. So I’m not really running into any problems related to the tick function. Here are some examples of my failed attempts:

  1. If I let the viewport capture my mouse, it won’t update the mouse’s position, so I can’t move the selected actor anywhere. Here, you can see my mouse’s position printed on the screen each tick as I try to drag around the grey actor:

  2. If I disable mouse capture, my mouse inputs won’t get registered at all. In this first clip, mouse capture is enabled. In the second, mouse capture is disabled, and I try to click repeatedly, but it fails to register my left-clicks.

Capture Enabled:

Capture Disabled:

I’m really not sure where to go from here. I’ve looked at the sample project but it doesn’t have anything that could solve my problems here.