# Reading pendant freedrive button status in URCap

**URL:** <https://forum.universal-robots.com/t/reading-pendant-freedrive-button-status-in-urcap/33673>\
**Category:** Technical Questions\
**Created:** [April 11, 2024, 4:21pm UTC](https://forum.universal-robots.com/t/reading-pendant-freedrive-button-status-in-urcap/33673 "2024-04-11T16:21:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![risto.ojala](https://avatars.discourse-cdn.com/v4/letter/r/b2d939/32.png) [@risto.ojala](https://forum.universal-robots.com/u/risto.ojala)\
**Post date:** [April 11, 2024, 4:21pm UTC](https://forum.universal-robots.com/t/reading-pendant-freedrive-button-status-in-urcap/33673/1 "2024-04-11T16:21:07Z")

</div>

Hey, is there anyway to read the pendant freedrive button status (pressed - released) in a URCap with URScript? I was hoping to use the button for implementing a dead-man’s-switch type of behavior for an external device.
