Changing active_entities within a tool

The related problem is that I don’t see a way to change the fade/hide settings from the API(?)
image
In some circumstances, where groups abut or overlap, I want to switch from fade to hide so user can see what he is doing.