Checks to see if the device has an internet connection or not.


GML Code Example


Returns: Boolean


With this function you can check and see if your device currently has an internet connection and it will return true if it does, or false if it does not.

NOTE: This function checks the internal device API that controls connections and so may return true if there is a bluetooth connection, a Wi-Fi connection, or even just a normal network connection that permits internet access.


GML Code Example

if os_is_network_connected()

The above code checks to see if the device has a connection to the internet and if so initialises the GameMaker: Studio Facebook API.

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here