The material is not displayer and I cannot press the keyboard buttons

does the cast Succeed? (put a print string out of both output pins on the the Cast these should probably have different strings)
test it against both things that should succeed and should fail.
-if it never makes it to the cast for things that should succeed the Line trace then you might need to check collision channels on the objects (I can’t tell which channel you are tracing against in your picture) where you are using the bool output of the line trace into your branch make sure the “button” for the channel is set to “blocking”

out of the Line trace once you have the component print out the name of the component, or something that is only specifically set to it.

if the cast succeeds then make sure we are arriving into the function call:
-put a print string right off the start of the function.

there a few reasons this might fail, and many of them come down to you are not casting to the right object type. so make sure that the blueprint being casted to is the proper type.

what is the collider configuration of the “Keypad” does the keypad have a collider that could intercept the line traces before they ever make it to the button?