If we talk about the portal gun, then many gamers immediately have an association with the game "Portal". And it is no coincidence, because it is Portal that is the very primary source, thanks to which this device appeared.

Straight from Portal Nature Research Lab
The place above is also known by its acronym ASHPD, which is the full name for Portal Ghana. What is this type of device? If you try to explain in a simple and understandable language, then the portal gun is directly related to the process of instantaneous movement of physical objects and the establishment of a visual connection.
This is the most important thing that the main character of "Portal" uses. It is applied throughout the gameplay, in those moments when it is necessary to solve puzzles. Thanks to the cannon, you can open a portal on any flat, solid and immovable surface. As for the exceptions, this is any liquid, something curved, smooth and in motion. Once spawned, they take on the shape of an ellipse and are capable of passing human-sized objects through them. You cannot open a third portal, there can only be two of them at the same time. One of them, as a rule, is highlighted in blue, and the second - in orange.
About game performance
When using the device, the player sees an orange or blue semblance of a beam. When it reaches the surface it was aimed at, a portal appears at the point of contact. Color matching.

By the way, if we originally had a blue portal, then we won't be able to duplicate it. As a result, after the appearance of the copy, the old one will simply disappear. So to leave a blue portal, we'll have to make an orange one.
The possibilities of the device are not limited to this. The fact is that a special manipulator is placed in the portal gun, which is aimed at the operation of an energy field with a zero level. Thanks to him, it becomes possible to carry small items, it will cope with cargo cubes or automatic turrets.
The appearance of each portal is tied to a specific mouse button, so the left one is responsible for the blue color, and the right one for the orange one. If it became necessary to transfer the item, then in this case the "E" key should be used.
At the very beginning of the gameplay, the player can only open portals of one color - blue. The device starts to work at full capacity only in the middle of the passage.
Portal gun mods
It's no secret that many popular devices sooner or later find their way into other projects and franchises. As for the portal gun, modifications with its participation touched many games, amongwhich appeared "Terraria", "Minecraft", "GTA 5" and others. Of course, all the credit goes to talented users who are driven by the desire to diversify familiar game worlds.

Many of the mods include additional objects. For example, along with portal guns in Minecraft, familiar turrets and various other items also appear. Some versions of the modifications add multi-colored gels that were in the second part of the "Portal".