#how do i disable gamepad reticle/crosshair
1 messages · Page 1 of 1 (latest)
EDIT: I DID NOT UNDERSTAND THE PROBLEM, please elaborate on what the problem is. This script was written without knowledge of the problem.
So, you could just turn off the cursor completely, and use a frame.
Then, using this:
local plr = game.Players.LocalPlayer
local mouse = plr:GetMouse()
local frame = script.Parent
loval RS = game:GetService("RunService")
RS:BindToRenderStep("Name_of_function", 1, function()
frame.Position = UDim2.fromOffset(mouse.X, mouse.Y)
end)
Put this script in a local script under the frame - it should work, although i wrote this from memory, and the arguments of BindToRenderStep might be in the wrong order.
srry for the late response
but what i was trying to say was the dot reticle on console is different from when im on PC.
on PC my local script allows for the crosshair i made to be at the center
But obviously console has it's own custom crosshair thats at the top middle for some reason, so my script/crosshair just follows it
if UserInputService.TouchEnabled and Crosshair and Crosshair.MainFrame then
local screenCenter = Crosshair.MainFrame.AbsolutePosition + Crosshair.MainFrame.AbsoluteSize / 2
local ray = workspace.CurrentCamera:ScreenPointToRay(screenCenter.X, screenCenter.Y)
local targetPosition = ray.Origin + ray.Direction * 1000
MouseEvent:FireServer(targetPosition)
else
Im pretty sure this is what has to do with it
im basicaly trying to force the Console Dot To The Center