You don't have to click anything...Target Nearest NPC or Object, then Confirm.
But if you really want to click things, these filter settings
correspond to the filter key set here
The setting I've commented as "optional" does this:
When you click or rightclick, it will apply to whatever target currently has the filter target dot.