How can I create a GameObject at the corner of screen

Unity is so difficult compared to delphi. In delphi you can just say:

Rectangle1.Position.Y := 0;
Rectangle1.Position.X := screen.Width - Rectangle1.Width;

This will just change the position of the Rectangle to the top right corner of the screen. But in Unity there’s so much to lean just to do this and I don’t know where I start. Can someone please simplify this to me? I just want create a object at the top right corner of the screen, both in smartphones and pcs.

I’m using Unity2D

EDIT: This is the Inspector of the object that I want to create:

And this is the code that I use to create the object:

Instantiate(objectName, new Vector3(0, 0, 0), Quaternion.identity);

EDIT to be more clear:

In your best interest @DiegoBittencourt, especially if you are switching to Unity for the first time, you should look into Unity’s free tutorials. They cover a lot of the information that you need to learn the basics of Unity, as well as giving you the ability to teach yourself the rest of the game engine.

With regards to your specific question, “Architecture and Polish - Unity Learn” should be a very good place to start. Unity does a very good job at giving “the little guys,” all the information they may need, to build all kinds of games, for lots of platforms.

Hopefully this helps you out a little bit.

There are some ways to do this in HTML, In the Android case you can get a look of AndroidStudio.
But for unity there is a class named “Screen” wich is great when handling screen information.
Here is the Unity ref: Unity - Scripting API: Screen