-
-
Notifications
You must be signed in to change notification settings - Fork 5
GetDisplayByIndex
Anthony Headley edited this page Apr 22, 2020
·
1 revision
Gets a display_handle given a display index number
Name | Type | Description | Optional -- | -- | -- display index | int | Requested Display Index |
Type | Description
display_handle | The display_handle
of the requested display
nil | If the selected display does not exits.
-- This example is contrived since Confirm() displays on all screens
local display = GetDisplayByIndex(1)
Confirm(display, "This is display 1")
display = GetDisplayByIndex(2)
Confirm(display, "This is display 2")