[This](https://wiki.facepunch.com/gmod/Vector:LengthSqr) would be more efficient than calculating a square root to compare against. https://github.com/wyozi-gmod/imgui/blob/9219cb2f7b21a57dc851e693f7150fd78d744b51/imgui.lua#L115
This would be more efficient than calculating a square root to compare against.
imgui/imgui.lua
Line 115 in 9219cb2