Create a new folder called BP, R click, BP class → Actor
rename as GrabActor, open it
Add component Static Mesh, child under DefaultSceneRoot
change the static mesh as we want to use
Add GrabComponent
In its Details, choose grab Type: Free or Snap, or Custom
If custom, In events column, On Grabbed and On Dropped can modify the custom grab type
Go to its even graph:
Useful variables and nodes in BP event graphs should add, for tools or weapons or objects need additional functionality:
Go to Class Setting tabs (on top), in its details, add virtualintereactionBPI (1st one below) in interfaces
Interfaces column shows on bottom L column, in which trigger released, pressed and axis nodes are there. they can be worked now