I’m creating custom mobile controls for the vehicles in my game. For what ever reason the bottom left button is invisible until you press on it. When released its invisible again. I have 5 other buttons and they all show up properly. The button is made from an “ImageButton” object and is set to visible = true. The transparency for the image is set to 0.5 and there is an image and pressedImage set. Anyone have any ideas why this might be happening? The default player controls are disabled and the default “TouchGui” is disabled.
local playerControls = require(player.PlayerScripts.PlayerModule):GetControls()
playerControls:Disable()
local defaultGUI = player.PlayerGui:WaitForChild("TouchGui")
defaultGUI.Enabled = false
Nvm. I found the problem. The asset wasn’t loading from roblox. Apparently I removed that particular version of the image and it was still set as the image to use. I updated the image to use the correct version name and its working now. Thanks.