Can't use skeletal mesh as target

I’m trying to plug a skeletal mesh from a blueprint I’m building into the target slot on a Local rotation node however it gives me an error

skeletal mesh component object reference is not compatible with actor object reference.

I’m not sure what else to do and I can’t find any information on this. Any help would greatly be appreciated.

Hi, if you look closer at the node, you see “Target is actor”, which means you can plug only an actor, and your mesh is a component.
Grab from the mesh and look for the node “AddLocalRotation” instead. You will see the target for this one is “scene component”