Cooldown mask error

(FIXED)
Hello,

the cooldown mask appears on 2 positions, 1 on spell ( like it must) and another one spawned in world like a plane, but i don’t have any plane-or other object with reuse mask

this is what i mean

OK, i found the problem

if (Event.current.type == EventType.Repaint)
{
}
	void DrawReuseMask()
	{	
		// Draw Reuse Mask (This should be out of loop because of darkness	
		GUILayout.BeginArea(layoutPos);
		if (Event.current.type == EventType.Repaint)
		{
			Graphics.DrawTexture(new Rect(skillPos[0].x + 3, skillPos[0].y + 3, 58, 58), reuseMask, materialList[0]);
			Graphics.DrawTexture(new Rect(skillPos[1].x + 3, skillPos[1].y + 3, 58, 58), reuseMask, materialList[1]);
			Graphics.DrawTexture(new Rect(skillPos[2].x + 3, skillPos[2].y + 3, 58, 58), reuseMask, materialList[2]);
			Graphics.DrawTexture(new Rect(skillPos[3].x + 3, skillPos[3].y + 3, 58, 58), reuseMask, materialList[3]);
			Graphics.DrawTexture(new Rect(skillPos[4].x + 3, skillPos[4].y + 3, 58, 58), reuseMask, materialList[4]);
		}
		GUILayout.EndArea();
	}

Put your GUI Elements on a different layer. Make it so your main cam cannot see that GUI layer… Make it so your GUI Cam can see that layer.