Highlight feature not working on actual mobile/tablet devices

Blockquote UPDATE: I have a workaround of using the fill property on the highest transparency (something like 0.95) and then the outline will show up. But without the fill being used, the outline won’t show on mobile or tablet.

This solved the problem for me but I had to bump down the fill transparency to 0.87, it wouldn’t work if I had the transparency up any higher.

A compromise I had to do was add a IsMobile() check to bump the transparency down to 0.87 with the following code, leave the transparency at 1 on other devices (Source):

function IsMobile()
	if game:GetService("UserInputService").TouchEnabled and game:GetService("UserInputService").KeyboardEnabled == false then
		print("Mobile User")
		return true
	else
		print("Probably not a Mobile User")
		return false
	end
end
5 Likes