# Pairing up EEG trigger to last word of sentence?

**URL:** <https://discourse.psychopy.org/t/pairing-up-eeg-trigger-to-last-word-of-sentence/44297>\
**Category:** Builder\
**Tags:** eeg\
**Created:** [March 19, 2025, 11:09am UTC](https://discourse.psychopy.org/t/pairing-up-eeg-trigger-to-last-word-of-sentence/44297 "2025-03-19T11:09:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martina097](https://avatars.discourse-cdn.com/v4/letter/m/258eb7/32.png) [@Martina097](https://discourse.psychopy.org/u/Martina097)\
**Post date:** [March 19, 2025, 11:09am UTC](https://discourse.psychopy.org/t/pairing-up-eeg-trigger-to-last-word-of-sentence/44297/1 "2025-03-19T11:09:06Z")

</div>

Hi guys,  
I’m conducting a N400 activation EEG experiment and I’ve created my paradigm on Builder. I’ve worked out how to connect the EEG port to the builder, but what I would like to do is synchronise the last word of each sentence (my trigger) to the EEG output. Is there a code to do this?

Hope this question makes sense!

Thank you 🙂

---

<div class="post-metadata">

**Author:** ![JensBoelte](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jensboelte/32/9060_2.png) [@JensBoelte](https://discourse.psychopy.org/u/JensBoelte)\
**Post date:** [March 19, 2025, 11:20am UTC](https://discourse.psychopy.org/t/pairing-up-eeg-trigger-to-last-word-of-sentence/44297/2 "2025-03-19T11:20:46Z")

</div>

Hello @Martina097

You could make the start time of the trigger dependent on the start of the last word. Search the forum for `status == STARTED` for examples.

Best wishes Jens
