# How can you use an external button for freedrive mode

**URL:** <https://forum.universal-robots.com/t/how-can-you-use-an-external-button-for-freedrive-mode/9125>\
**Category:** Robot Communication\
**Created:** [October 14, 2020, 11:18am UTC](https://forum.universal-robots.com/t/how-can-you-use-an-external-button-for-freedrive-mode/9125 "2020-10-14T11:18:28Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sko](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/sko/32/573_2.png) [@sko](https://forum.universal-robots.com/u/sko)\
**Post date:** [October 14, 2020, 5:14pm UTC](https://forum.universal-robots.com/t/how-can-you-use-an-external-button-for-freedrive-mode/9125/4 "2020-10-14T17:14:23Z")

</div>

To get this functionality from the Java Side you would need to send the correspondent Script Code via one of the Client Interfaces (30001/2/3) to the robot from within the URCap.

See this answer for reference: [Setting Digital input to freedrive through java - #3 by jbm](https://forum.universal-robots.com/t/setting-digital-input-to-freedrive-through-java/2113/3)

---

_[View the full topic](https://forum.universal-robots.com/t/how-can-you-use-an-external-button-for-freedrive-mode/9125)._
