# Metadata
Platforms: desktop, server OS: mac, windows, linux Introduced: 2.0 Security:
# Syntax
the dragSource
# Examples
the dragSource
if the short name of the dragSource is empty then beep
# Description
Use the dragSource function to find out which object, and which object type, is being dragged from.
The dragSource function only returns a value while a drag and drop is in progress. Otherwise, the dragSource function returns empty.
# Tags
ui,
# See
- **property:** ID - **message:** dragEnd, dragDrop - **function:** target - **glossary:** property, return, object type, drag and drop, object - **control structure:** function