Skip to content

[Feature Request] Hide Mouse Cursor  #1292

@12buntu

Description

@12buntu

I don't know how feasible this is, given the many different platforms that TIC-80 runs on, however it would be nice if there were an option to hide the mouse cursor over the TIC-80 window.

Activity

SDMelipone

SDMelipone commented on Jan 2, 2021

@SDMelipone

If you mean hide the host system cursor, then this should work:

poke(0x3FFB,1)

This is a location in the VRAM, documented here:
https://github.com/nesbox/TIC-80/wiki/RAM

12buntu

12buntu commented on Jan 2, 2021

@12buntu
Author

If you mean hide the host system cursor, then this should work:

poke(0x3FFB,1)

This is a location in the VRAM, documented here:
https://github.com/nesbox/TIC-80/wiki/RAM

Oh i didn't see that when I was looking around the documentation. Thank you!

ghost

ghost commented on Mar 21, 2025

@ghost

0x3FFB does not work. The default pixel mouse cursor is still visible.

jonpatterns

jonpatterns commented on May 11, 2025

@jonpatterns

0x3FFB does not work. The default pixel mouse cursor is still visible.

It works if you put poke (0x3FFB,1) call in the main TIC() function. I think this is because the mouse is reset every tic, seems to be true of the mouse position too.

EDIT: you can also switch to mouse relative mode using poke(0x7FC3F,1,1) which does not display the mouse cursor. This only needs to be set once, as isn't affected by tic procedure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jonpatterns@12buntu@SDMelipone

        Issue actions