ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. getPlayerCrosshairImage

Function

getPlayerCrosshairImage

New function!Added to Trilogy Hub on 11 Nov 2026.

ClientPlayersTrilogy Hub only

Returns the path, width, height and tint of the image set by setPlayerCrosshairImage. Returns false when no custom image is set.

Syntax

string/bool, float, float, int getPlayerCrosshairImage()

Returns

Path, width, height, tint, or false.

Example

local path, width, height, color = getPlayerCrosshairImage()
if path then outputDebugString(path) end

See also