Mouse module and cursor invisibility [SOLVED]

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
lydzje
Prole
Posts: 5
Joined: Sun Jul 22, 2018 2:36 am
Contact:

Mouse module and cursor invisibility [SOLVED]

Post by lydzje »

Hello guys, I want to disable the mouse love module

Code: Select all

t.modules.mouse = false
but I need it in order to make the mouse cursor invisible, since it won't be used.

Code: Select all

love.mouse.setVisible(false)
Is there other way to make the mouse cursor invisible through LÖVE 11.2?
Last edited by lydzje on Tue Jan 08, 2019 9:35 pm, edited 1 time in total.
NIL
User avatar
zorg
Party member
Posts: 3465
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: Mouse module and cursor invisibility

Post by zorg »

Is not disabling the mouse module not an option for you? and if so, why?
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
User avatar
lydzje
Prole
Posts: 5
Joined: Sun Jul 22, 2018 2:36 am
Contact:

Re: Mouse module and cursor invisibility

Post by lydzje »

Right now I'm not disabling the module, it's definitely an option. The only reason I have to disable it, is to have a coherent code. I don't want the module if I'm not using it.

But I've been thinking about it today: If I want the cursor to be invisible, I want to use an extra mouse feature, so I want to use the module.

In conclussion, I'm not worried anymore about enabling this module since I'm satistying my code fetish already.
NIL
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Semrush [Bot] and 3 guests