I want to change the wall size when I am moving mouse cursor.The wall static mesh actor’s one edge should follow the mouse cursor. How can I do that ?
Hey, instead of the StaticMeshActor use a SplineMeshActor. Then you can move the Start Pos or End Pos and stretch your wall. Take a look at the Content Examples if you want to see how Splines work.
You can use the Blueprint Function Convert Mouse Location To WorldSpace to find the world location your cursor points to, set this as the End Pos of your spline mesh and your wall should strech the way you want.