Moving hand same as moving mouse with 500 animations Epic Games

Hello im struggling how to make fully working flashlight , i got done the animation but now i want to add moving hand same as mouse , like u can see all time the flashlight.
also i noticed when i attach flashlight rotation to my head , then i dont have moving effect of flashlight. i would like to add this also but i dont know how to start with it .

i think i have to add somehow to head rotation also hand rotation to make the shake somehow haha
greetings please help

Hello,

This could be done with control rig.

You can follow this tutorial to create an IK for your character’s arm.

Aim Look At Part 1

Aim Look At Part 2

Alternatively, there is a plugin on the marketplace that is easier to setup:

https://www.unrealengine.com/marketplace/en-US/product/dragon-ik-animal-inverse-kinematics

this not suits for me , i dont have option aim. dont know how to implement this. here is my code from animgraph:

If you follow the tutorial closely you will notice that the Aim node is located inside the control rig, not inside the animation blueprint.

i did it differently and in 2 minutes so yea i noticed better way than yours