Guide 1 Docs 2 Reference 3

Field of EntityHandle

entityHandle.driver

Whether it is in water now. False for an entity that is not alive. The player supplying driving input from seat 1; nil for an NPC or empty seat.

entityHandle.driver: Player?