- Documentation
- Client functions
- getPlayerCrosshairImage
Function
getPlayerCrosshairImage
New function!Added to Trilogy Hub on 11 Nov 2026.
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