SideBlock
Draws a block at a side of the panel.
Arguments
(Optional) Color col Color of the block
(Optional) Number size Size of the block
(Optional) Number side Side the block is on, uses DOCK enums
Example
local pnl = vgui.Create("DButton")
pnl:ClearPaint()
:Background(Color(0, 0, 0, 200))
:SideBlock(Color(255, 0, 0), 4, LEFT)
Output:
