Take Camera: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<languages/> | |||
<translate> | |||
[[Category:Agents]] | [[Category:Agents]] | ||
<section begin=image/>[[File:Take Camera.png|alt=take camera block|thumb]]<section end=image/> | <section begin=image/>[[File:Take Camera.png|alt=take camera block|thumb]]<section end=image/> | ||
Line 18: | Line 21: | ||
==Relevant Activities== | ==Relevant Activities== | ||
[[Category:Code Block]] | [[Category:Code Block]] | ||
</translate> |
Revision as of 14:04, 16 March 2023
take camera
is a code block part of the agents drawer.
Usage
take camera
changes the camera perspective to be from the point of view of the agent executing the code.
take camera
can be useful for implementing interactive games from the first-person perspective.
Syntax
(in reference to the agent itself) take camera