# Blender wrongly thinks I clicks a scale-cage manipulator that closest to camera - which is not the closest to mouse

I want to click the green manipulator, not the red one.

However, if two manipulator (red & green) appear moderately close together from the camera, Blender will think that I click the one that is near camera (red).

The below dot-gif image shows my clicks.
All of 3 scaling tests were done by clicking the green.

• In the first two tests, Blender wrongly think I click the red manipulator.

• In the last test, before I clicked, I rotated camera a bit and get the expected correct result.

How to reduce the distance threshold that Blender use?

^ To make testing convenient, I wish for an answer that works when I click the yellow zone.
Currently, if I click the yellow zone, Blender will wrongly think I click the red manipulator.
However, if I click the cyan zone, Blender will correctly think I click the green manipulator.

Environment :

• Blender 2.81 & 2.83 & 2.90 & 2.91(experimental) in Windows 10.
• Blender : switching because Industrial and Blender-default keymap doesn't help.
• Windows : It can't be fixed by Display>Scale and layout>Advanced scaling settings> = 100%.

Environment that there is no issue:

• Blender 2.81 in Windows 7.
• Blender 2.81 in the problematic computer. It needs factory reset.
The trick has no effect on Blender 2.90.

## Bounty Reason (old)

• HikariTW's answer is a good attempt, but sadly, for my case, it isn't useful at all.

• Jachym Michal's is very insightful, but it doesn't provide any solution except (bug) reporting.

• Increality's provides a doable solution. However, for me, it is (very) inconvenient.

• Yudaka's argues that there is no such issue in his machine, and I confirm later that there is actually no issue in one of my computers.

• What version of blender? Not seeing the behaviour as demonstrated by @JachymMichal in 2.91. (Each has a similar circle of influence) Oct 31 '20 at 17:22
• @batFINGER :: Thank, I tested in 2.83 and 2.90 (will add info to the question). I will try 2.91 Nov 1 '20 at 0:28
• @batFINGER :: I just tested 2.91. The issue still exists. Did you try to click the yellow zone? I didn't test Jachym's assumption yet. Nov 1 '20 at 0:40
• git.blender.org/gitweb/gitweb.cgi/blender.git/blob/refs/heads/… If that code is indeed used for all tools that involve (mouse) selection, then the distance threshold, or hitbox, is hardcoded. Radius of 14px from center point of selection which is 28×28px. But when I test your file, I don't find any issue when I click teh yellow zone. Nov 4 '20 at 18:04
• I use version 2.90.1 on Arch Linux. Did you use same mouse you used for this question? It could be the mouse, or even the setting on your OS. Nov 5 '20 at 1:23

This is due to Perspective view.
I seems that closer control points have larger "active area" around them. because reasons...?

In Orthographic view, the active area around all points is the same :).

Active areas highlighted. When cursor is in 'active area' it changes from a cross ✛ into arrows ✥

This doesn't make much sense from the UI standpoint, the 'active area' shouldn't change due to perspective.
It would also be nice if the 'active' point was highlighted when the cursor gets close enough.

Possible solution:
Suggest improvements on devtalk.blender.org or rightclickselect.com and wait until they're implemented.

• How did you know? Do you draw the circle by yourself or via enabling some Blender setting? Oct 30 '20 at 1:47
• I didn't know :). I tried and tried to find the reason because it was driving me crazy :). And the circle is just an icosphere Oct 30 '20 at 6:17

You could lock your Scale on the X axis before performing the operation, so that it is not affected by the Scale Cage, thus giving you the desired result.

• Thanks. It would work, but in a very frustrating way. Pressing key X/Y/Z to lock can work too in some cases, but has the same disadvantage. These solutions are far from what I wish for. Nov 4 '20 at 1:04
• I imagine messing with the source code might be what you need, perhaps following this guy's lead, and applying it to the Scale Cage blenderartists.org/t/… This video shows source code access: youtube.com/watch?v=Vm2-sUueEEc Nov 4 '20 at 1:52
• I agree. Perhaps there is no other ways. Nov 4 '20 at 2:53

You might be able to disable this behavior in setting > Viewport > Selection > [] OpenGL Depth Picking:

This option will select the object with the least depth, which seems not what you want.

• It can't correct the behavior for my tests. Nice try. Thank. Oct 26 '20 at 5:46

view3d_select.c#1722

If that code is indeed used for all tools that involve selection with mouse or any pointing devices, then the distance threshold, or hit-box, is hard-coded. Radius of 14px from center point of selection which is 28×28px box. But when I test your file, I don't find any issue when I click the yellow zone.

This could be an issue with your mouse or even the setting on your OS. Try with different mouse, computer, or different OS.

EDIT

This thread on BA allude to similar problem. While in this reddit post, the OP having difficulty on selection. So, most of the issues I think related to compatibility and graphic driver.

I also found this discussion (T73479) on Blender Developer about Select Through you maybe find it interesting.