Hide socket in character

I have a weapon socket that has a sword in it, I want to have an animation that hides the socket, how would I do that?

Maybe some pictures and setup would help us understand more

I have this socket:

The sword is part of the socket.

In the animation, I want to hide the socket with the sword.

You can’t really “hide a socket”. But you sure can hide the sword. For basic visibilty, you have Set Visibility (just get the Sword component). Then you have choices like playing an animation before hiding it or adding particles effects…

I’m Fairly new to UE4, can you show me some screenshots of what to do, please?

You should have the Sword somewhere inside your Character Blueprint. Just grab it into the graph (Get) and drag pin from it to call SetVisibility and SetCollisionEnable (this activate / deactivate interaction with other stuffs). I used custom events for my example but you don’t necessarily need those events.

How would Only hide it for a specific animation using your Custom Events?

You will be able to call those Custom Events whenever you want. Example ; starting with the sword visible : Play Animation X > Hide Sword > Delay (Animation X length) > Make Sword Visible. This way the sword won’t be visible when you play Animation X

I don’t have the sword in my Character Blueprint.