Python moving object

Hi all.

Doing a computer tech assignment and was using python for it. I was wondering if it was possible that if there is a way for me to have a input where if I pressed a key, an object would move to in front of my camera or where my mouse is hovering over.

Thanks,
zakche

1 Like

Like This?
py: drag obj


ts: raycast

setup:
image