User Tag List

Results 1 to 3 of 3

Thread: whats with RGBAt? Its giving me 0, 0, 0 when used with RGBRed/RGBBlue etc

  1. #1
    Clicker

    Fusion 2.5 (Steam)

    Join Date
    Dec 2014
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    whats with RGBAt? Its giving me 0, 0, 0 when used with RGBRed/RGBBlue etc

    im trying to manipulate actions by testing overlapped with a field or position which is a specific RGB value, the problem is RGBAt when used on an actives position ( a square with color) returns 0, 0, 0.
    I must not be using it right, can someone point me to an example for proper use of RGBAt?

    object RGBAt(object.X, object.Y) //Returns 0, not even sure what it would return since the docs dont show me anything on it

    set alt value redColor = RGBRed(RGBAt(object.X, object.Y)) // returns 0???? what?

    pls someone help me understand this.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    RGBat requires "relative" coordinates to the top-left origin of the object

    so you can basically do:
    RGBat(desiredX - Xleft Object, desiredY - Ytop Object)

  3. #3
    Clicker

    Fusion 2.5 (Steam)

    Join Date
    Dec 2014
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanx alot, i thought it was using world space coordinates

Similar Threads

  1. fused is not giving me what it is?
    By Perry in forum Fusion 2.5
    Replies: 4
    Last Post: 6th May 2015, 06:40 PM
  2. Does RGBat work for android?
    By Doverseer in forum Android Export Module 2.5
    Replies: 3
    Last Post: 11th February 2015, 02:13 AM
  3. Division Giving Only 0
    By Kracker in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 21st May 2013, 09:43 AM
  4. Bug Report - RGBat and Replace colour
    By MattEsch in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 20th May 2011, 01:27 PM
  5. Giving each object a value?
    By JoshHarris in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 4th January 2008, 01:42 PM

Posting Permissions

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