# Updating my response ("left" or "right") for feedback

**URL:** <https://discourse.psychopy.org/t/updating-my-response-left-or-right-for-feedback/12779>\
**Category:** Builder\
**Created:** [April 27, 2020, 8:12am UTC](https://discourse.psychopy.org/t/updating-my-response-left-or-right-for-feedback/12779 "2020-04-27T08:12:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Becca](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/becca/32/34260_2.png) [@Becca](https://discourse.psychopy.org/u/Becca)\
**Post date:** [April 27, 2020, 9:42pm UTC](https://discourse.psychopy.org/t/updating-my-response-left-or-right-for-feedback/12779/2 "2020-04-27T21:42:18Z")

</div>

Hi There,

I think you might want to move your current code snippet into the “End Routine” tab. Because you won’t know which key was pressed until the end of the routine. Then add a seperate “feedback” routine within your “animals\_01” loop but following your “trial” routine, add a text component in the feedback routine and set the text parameter in that component as $response.

Good luck!  
Becca

PS. I think similar but slightly different issue here [Printing a counter as participant feedback in next routine](https://discourse.psychopy.org/t/printing-a-counter-as-participant-feedback-in-next-routine/12515/4)

---

_[View the full topic](https://discourse.psychopy.org/t/updating-my-response-left-or-right-for-feedback/12779)._
