--- title: "online" slug: "network-online" updated: 2025-11-13T18:21:17Z published: 2025-11-13T18:21:17Z canonical: "docs.doc-know.com/network-online" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.doc-know.com/llms.txt > Use this file to discover all available pages before exploring further. # online ### network.online Type: **Boolean** Returns whether or not a live Internet connection is available. ### Examples ``` // check active internet connection if (network.online) debug.log("Connected to Internet."); else debug.log("Disconnected from Internet."); ``` ### Remarks Use this property when your scripts need to test for an active Internet connection on the host device. This can be useful if you need to communicate with an external service or download (i.e. file) a resource from the Internet.