// Update is called once per frame void Update() { _img.sprite = defaultCursor; if (playerPhotos.canPhotograph()) { _img.sprite = canPhotographCursor; } transform.position = Mouse.current.position.ReadValue(); }