undomiel #1 Global g_background:TImage = LoadImage("IncBin::images/background.bmp") You have to make sure it is part of the TImage type as that way you have it in your code snippet there is that you're trying to load an image into an int.