My staticmesh ref is not compatible with setworld rotation scene component ? What should i do?

my staticmesh ref is not compatible with setworld rotation scene component ???
What should i do???
plse help!!!![alt text][1]

but i want to get the actor location to constrain my end point movement to staticmesh ref

thank you

Try something like that, also, remember to compile