Why the Target of Toggle Visibility function varies in Blueprints?

In the Level Blueprint (first pic), if I want to target a light from the Toggle Visibility function, a ‘light component’ box appears between the nodes. However in a class blueprint (second pic) there’s no such box. What is the difference?

because when you try to get reference of any object in level bp it then it first converts into a form what blueprint can read that’s why you get the above result but everything in class bp is already in the form what blueprint can read that’s why results are different

where is the Toggle Visibility node in 4.21?