#  Check if the gamepad is connected 

**URL:** <https://forums.unrealengine.com/t/check-if-the-gamepad-is-connected/2670029>\
**Category:** Game Production\
**Tags:** unreal-engine, question\
**Created:** [October 30, 2025, 1:45pm UTC](https://forums.unrealengine.com/t/check-if-the-gamepad-is-connected/2670029 "2025-10-30T13:45:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![carrotlima1865](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@carrotlima1865](https://forums.unrealengine.com/u/carrotlima1865)\
**Post date:** [October 30, 2025, 1:45pm UTC](https://forums.unrealengine.com/t/check-if-the-gamepad-is-connected/2670029/1 "2025-10-30T13:45:21Z")

</div>

I use the Get Input Device Connection State node in the blueprint to check if my game is connected to the gamepad. When I first run the program, regardless of whether the gamepad is connected or not, it will display as connected. When I actually connect the gamepad, it will also display as connected. The next step is normal, unplugging the gamepad and reconnecting it will correctly check. When I restart the program, it will change again. At the beginning, it is always connected regardless of the situation. I even made a 5-second delay check, but it has no effect. How to solve it? thanks!
