Key "B" press is not recognised.

I am trying to switch materials using key press. But keyboard input is not working. Anything missing here? I am using 5.3 version.

Hey there @NiharSail! Welcome to the community! First thing to verify is that the B key is being recognized. You can do this with a print string or a breakpoint.

image

If it has been recognized, then the next move is to check your logic. To do this, the same idea applies. Check the outputs with prints like this and see if they are firing correctly. I set mine to loop to make sure it can fire more than twice.

image

Then, if they all fire correctly, then the issue may reside in your material. It looks like your logic is sound from here, unless that variable isn’t set correctly. Are you receiving any errors then trying to set the material from your reference?

@SupportiveEntity Thank you for your kind reply. You are right. But on other side I found my mistake. Set material target is wrong in my blueprint. When corrected. It’s working. I appreciate your help. Thank you again.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.