cast from Actor to e.g Blueprint_CeilingLight


I try to create a Single Trace Line, which automatically detects Blueprint_CeilingLight and toggle their light.
But i coudln’t find a solution for my problem I ran into.
I need to cast “Actor” to “Blueprint_CeilingLight”, but i can’t find any function doing such Casting?

Here is a screen of the current Blueprint


Any Help would be cool :slight_smile:


Not sure if it’s what you want, but if I make a similar blueprint like what you have there and type in “cast to” in the search box I get a long list of options, including “Cast To Blueprint_CeilingLight”.

Well, this is weird. I just recompiled the same Version I had before, and now it works…Strange things happening here :smiley:
Thanks tho!