Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

How to remove the mouse cursor?

Asked by 9 years ago

The mouse cursor is kind of getting in my way of the design of my game. It's like a old FPS shooter, with sprites, and I don't want there to be a black arrow in the middle of the screen. Any way to remove it?

1 answer

Log in to vote
0
Answered by 9 years ago

You need an invisible decal and get the Image of that decal.

Decal: http://www.roblox.com/Untitled-item?id=185299409 Image: http://www.roblox.com/Untitled-item?id=185299408 Asset: http://www.roblox.com/asset/?id=185299408

Differences: Decals ID is +1 higher than the Images ID Asset uses /asset/?id= instead of Name-item?id=

Add this code inside a script parented to the tool/hopperBin you're using:

script.Parent.Selected:connect(function(mouse)
mouse.Icon = 'http://www.roblox.com/asset/?id=185299408' -- you can change this to work with your own mouse icon.
end)
Ad

Answer this question