how to rotate actor (playing card) when i click on it ?

Hello

I would like to be able to rotate a playing card by clicking on this card. So each time I click on it, it rotates 180 degrees, and can therefore put it front or back with each click but I have been trying to do it in blueprint for 2 weeks but without succeeding.

Someone can help me?

Thank in advance

Make a blueprint(inherit from actor)
Go To the blueprint’s eventgraph
right click > choose event ActorOnClicked
set the rotation (SetActorRotation(), or for interpolation, look up timelines)