Question by 
               xbeastmode021001 · Dec 24, 2016 at 06:29 AM · 
                vector3canvasbounds  
              
 
              How can I get the Bounds of a canvas?
So basically, I am trying to get the min and max Vector3 positions of the aligned axis bounding box of the canvas.
Here's my code:
 using System.Collections;
 using System.Collections.Generic;
 using UnityEngine;
 using UnityEngine.UI;
 
 public class GameProcess : MonoBehaviour {
 
     public Canvas Game;
 
     void Start () {
     }
     
     void Update () {
         Transform btn = Game.transform.FindChild("Pointer");
         btn.transform.position = Input.mousePosition;
     }
 }
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
Moved GameObject under Canvas (Parent), transform.position vector coordinates mismatch 0 Answers
Operator `+' cannot be applied to operands of type `UnityEngine.Vector3' and `float' 3 Answers
How can i check if the point is within/inside certain area? 0 Answers
How to move a 3D object to canvas object position? 1 Answer
How To Duplicate Canvas To Follow Player 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                