User Tag List

Results 1 to 4 of 4

Thread: Mouse hover over color?

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)
    lcraymotherlol's Avatar
    Join Date
    May 2023
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Mouse hover over color?

    Hi I'm relatively new to the forum and I'm making a find the difference mini-game for my game.

    I wanted to ask if there was a way to detect a color when the mouse is over it with a invisible active? I have tried the screen pixel object but it doesn't seem to detect the color on a invisible active.

    I know there's hovering over a zone but I just want more precision on where the difference is clickable.

    Thanks in advance!

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleUniversal Windows Platform Export ModuleSWF Export Module

    Join Date
    Jun 2014
    Posts
    132
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I believe you could just use the "GetRGBAt" expression and parse the Xmouse & Ymouse as the parameters, but I can't recall right now which sub-menu to find it under. I think it's in the active object expressions.

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)
    lcraymotherlol's Avatar
    Join Date
    May 2023
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by YesNoYes View Post
    I believe you could just use the "GetRGBAt" expression and parse the Xmouse & Ymouse as the parameters, but I can't recall right now which sub-menu to find it under. I think it's in the active object expressions.
    I tried this and it doesn't really seem to work other than just it works inconsistently whenever I get off the screen or the active.

    I used the compare expression to value by the way like this:

    GetRGB(255, 0 ,0) = RGBAt("Active", XMouse, YMouse)

    Also did it the other way around which didn't work either and tried the compare two general values too.

    Edit: I noticed that the hotspot point desyncs from the active whenever the active's position and hotspot point arent the same thus having inaccurate results.

  4. #4
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)

    Join Date
    Jun 2006
    Location
    Killeen, TEXAS
    Posts
    1,253
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    getRBG works as it should. the error will be how you're doing it/method or other things you are doing.

Similar Threads

  1. Replies: 1
    Last Post: 13th January 2017, 05:28 AM
  2. How to make simple hover effect to buttons?
    By jorma000 in forum Fusion 2.5
    Replies: 1
    Last Post: 4th January 2017, 01:26 PM
  3. Mouse Hover Plz Help
    By Oxbile in forum Fusion 2.5
    Replies: 4
    Last Post: 24th August 2016, 08:02 PM
  4. Replies: 3
    Last Post: 1st April 2016, 08:35 PM
  5. Easy Hover Button Example
    By Tuna in forum File Archive
    Replies: 10
    Last Post: 2nd April 2009, 02:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •