PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

Image

ImageButton

Content

The Image property is a content-type property that should hold the asset ID of a Decal or Image on the Roblox website. It functions identically to Decal/Texture with regards to loading the image from the Roblox website. The rendered image will be colorized using ImageButton/ImageColor3. It is possible to further manipulate the rendered image into sliced (ImageButton/SliceCenter), tiled (ImageButton/ScaleType) and nine-slice images using other image properties.


Code Samples


Image Hover Lock

This code sample causes an ImageLabel/ImageButton to display a red padlock. When the mouse is hovered, it changes to a green unlocked padlock.