Custom Pick Screen, prevent mouseclicks and camera movement

edited August 2017 in Questions

Hello I am currently making a custom hero selection screen. I need some help. My pick screen is almost finished but I have one problem. You can click through the pick screen and move your preloaded hero on the map. How can I prevent it? Second I want to stop moving the camera too if you mouse is near corners on your screen.

I just found to reset camera to hero PlayerResource:SetCameraTarget(player, nil) but need something like to prevent the movement and click.