How can I switch input from mouse cursor to line trace?

I made a slide puzzle as it was after watching YouTube, but instead of operating this slide puzzle with onclick, I want to operate each puzzle one by one using linetrace by channel. I don’t know which part to change. help.

With Line Trace you would have to set up a start point and finish and most of the time the line trace comes from the camera to the center of the screen

Hey @kariso021! Welcome to the forums!

Would you mind sharing what you have so far in your blueprints as well as the tutorial you used? In the meantime, check out this non-Epic affiliated tutorial on line traces from mouse positions:

I hope the above is the solution you are looking for!