Skip to content

Display Customization

You can almost fully customize your DynamicCrosshair looks with it's built-in functions!

Change The Size Of The Crosshair
Change The Size
1
2
3
4
5
6
local UI : ScreenGui = script.Parent 
local DynamicCrosshair = require(script.DynamicCrosshair).New(UI)
DynamicCrosshair:Enable()

-- DynamicCrosshair:Size(5,1)
DynamicCrosshair:Size(5,1)
Change The Display Of The Crosshair

You can change the display of the crosshair using any inherited property from a ImageLabel. You can do this by using DynamicCrosshair's built in :Display() function

Display Example
local UI : ScreenGui = script.Parent 
local DynamicCrosshair = require(script.DynamicCrosshair).New(UI)
DynamicCrosshair:Enable()


DynamicCrosshair:Display({
    BackgroundTransparency = 0; 
    BorderSizePixel = 2;
    Image = nil;
    ImageTransparency = 0;
    BackgroundColor3 = Color3.new(0.054902, 0.258824, 1);
})

type:image