Prop that replicates player movement

I’m trying to make my prop replicate the player’s movement, similar to player follow but this way the prop won’t go through walls. I don’t know how I could do it.

Have the object set to collide with the necessary walls. Character input uses a -1 - 1 value for movement in each direction. Multiply that value by the speed multiplier you want and use GetActorForwardVector and GetActorRightVector (GetUpVector if also doing Z movement) to get the correct directions. Then use SetActorLocation with the proper additions to the current actor location. Make sure to tick the “sweep” on SetActorLocation as this is what will test for collisions with your walls.