Get user data name from tile Paper2d

Hello again my friends,

I have a paper2d project that I’m trying to reproduce different foot steps sound based what tile type the player are walking.
So, I named a User data name for each tile, grass for the tile that will reproduce steps on grass, concrete on concrete, and so on…

Then every 0.5 seconds I create a LineTrace by Channel if the player it’s walking and this line collides with the tile floor.

The problem is: How can I retrieve the User Data Name from this tile collided by the Trace?

Can someone help me? Or maybe give me a better way to make different foot steps sounds in Paper2d?

PS: The GET TILE Function give me the right Data Name from the tile, but I can’t retrieve it from the raycast… =/

IMAGE OF MY BLUEPRINT:

i dont remember but i saw some things in Character class that allow you to set up reporting which material is being walked on without line traces being added to your custom blueprint. Also you can assign a Physical Material to.a Material and that might be usable since there is a phys mat output on the line trace hit result.

Sorry i wish I could remember how i did this in UdK

Thank you mightyenigma. But I cant use physical material method in paper2d because we can’t set different material for each tile piece, just for the entire layer =/, as paper2d dont have animation notify too =/

I’m getting my nervous out trying to figure out this lol…

Need help =/

I replied to your reddit post this is the best solution I could come up with. Made this very quickly, and did it this morning: Getting the individual tile data from a tile map through Location - YouTube