{hidden}
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE{hidden}
{sub-section:description|text=}{sub-section}\\{table:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Property Summary{th}{tr}{tbody}{tr}{td}[Number]{td}{td}[#x]
Gets or sets the x position of the agent.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#y]
Gets or sets the y position of the agent.{td}{tr}{tbody}{table}\\{table:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}void{td}{td}[#setBalloonSize]\(width, height)
Sets the size of the balloon.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setImageURL]\(url)
Sets a new image for the agent.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setLocation]\(x, y)
Sets the location of the agent.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setVisible]\(visible)
Show/hides the agent.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#speak]\(message)
Makes the agent speak.{td}{tr}{tbody}{table}\\{table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Property Details{th}{tr}{tbody:id=C043C4B1-3936-46A4-911C-D8A9D8E4E1B5}{tr:id=name}{td}h6.x{td}{tr}{tr:id=des}{td}{sub-section:C043C4B1-3936-46A4-911C-D8A9D8E4E1B5_des|text=|trigger=button}{sub-section}{sub-section:C043C4B1-3936-46A4-911C-D8A9D8E4E1B5_des|trigger=none|class=sIndent}Gets or sets the x position of the agent.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:C043C4B1-3936-46A4-911C-D8A9D8E4E1B5_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:C043C4B1-3936-46A4-911C-D8A9D8E4E1B5_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:C043C4B1-3936-46A4-911C-D8A9D8E4E1B5_ret|text=|trigger=button}{sub-section}{sub-section:C043C4B1-3936-46A4-911C-D8A9D8E4E1B5_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:C043C4B1-3936-46A4-911C-D8A9D8E4E1B5_see|text=|trigger=button}{sub-section}{sub-section:C043C4B1-3936-46A4-911C-D8A9D8E4E1B5_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:C043C4B1-3936-46A4-911C-D8A9D8E4E1B5_see|text=|trigger=button}{sub-section}{sub-section:C043C4B1-3936-46A4-911C-D8A9D8E4E1B5_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:C043C4B1-3936-46A4-911C-D8A9D8E4E1B5_sam|text=|trigger=button}{sub-section}{sub-section:C043C4B1-3936-46A4-911C-D8A9D8E4E1B5_sam|class=sIndent|trigger=none}{code:language=javascript}
//move the agent diagonaly
plugins.agent.x = plugins.agent.x-10;
plugins.agent.y = plugins.agent.y-10;
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=91E14186-5F91-4499-BCF7-D502B0D31BE9}{tr:id=name}{td}h6.y{td}{tr}{tr:id=des}{td}{sub-section:91E14186-5F91-4499-BCF7-D502B0D31BE9_des|text=|trigger=button}{sub-section}{sub-section:91E14186-5F91-4499-BCF7-D502B0D31BE9_des|trigger=none|class=sIndent}Gets or sets the y position of the agent.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:91E14186-5F91-4499-BCF7-D502B0D31BE9_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:91E14186-5F91-4499-BCF7-D502B0D31BE9_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:91E14186-5F91-4499-BCF7-D502B0D31BE9_ret|text=|trigger=button}{sub-section}{sub-section:91E14186-5F91-4499-BCF7-D502B0D31BE9_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:91E14186-5F91-4499-BCF7-D502B0D31BE9_see|text=|trigger=button}{sub-section}{sub-section:91E14186-5F91-4499-BCF7-D502B0D31BE9_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:91E14186-5F91-4499-BCF7-D502B0D31BE9_see|text=|trigger=button}{sub-section}{sub-section:91E14186-5F91-4499-BCF7-D502B0D31BE9_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:91E14186-5F91-4499-BCF7-D502B0D31BE9_sam|text=|trigger=button}{sub-section}{sub-section:91E14186-5F91-4499-BCF7-D502B0D31BE9_sam|class=sIndent|trigger=none}{code:language=javascript}
//move the agent diagonaly
plugins.agent.x = plugins.agent.x-10;
plugins.agent.y = plugins.agent.y-10;
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}\\{table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=16046080-C964-4901-B27E-AAF5F4F38712}{tr:id=name}{td}h6.setBalloonSize{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setBalloonSize{span}{span:id=iets|style=float: left;}\(width, height){span}{td}{tr}{tr:id=des}{td}{sub-section:16046080-C964-4901-B27E-AAF5F4F38712_des|text=|trigger=button}{sub-section}{sub-section:16046080-C964-4901-B27E-AAF5F4F38712_des|trigger=none|class=sIndent}Sets the size of the balloon.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:16046080-C964-4901-B27E-AAF5F4F38712_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:16046080-C964-4901-B27E-AAF5F4F38712_prs|trigger=none}width
height
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:16046080-C964-4901-B27E-AAF5F4F38712_ret|text=|trigger=button}{sub-section}{sub-section:16046080-C964-4901-B27E-AAF5F4F38712_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:16046080-C964-4901-B27E-AAF5F4F38712_see|text=|trigger=button}{sub-section}{sub-section:16046080-C964-4901-B27E-AAF5F4F38712_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:16046080-C964-4901-B27E-AAF5F4F38712_see|text=|trigger=button}{sub-section}{sub-section:16046080-C964-4901-B27E-AAF5F4F38712_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:16046080-C964-4901-B27E-AAF5F4F38712_sam|text=|trigger=button}{sub-section}{sub-section:16046080-C964-4901-B27E-AAF5F4F38712_sam|class=sIndent|trigger=none}{code:language=javascript}
plugins.agent.setBalloonSize(width,height)
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=7B3997DA-0463-4A49-92FA-4DFC99E8C71F}{tr:id=name}{td}h6.setImageURL{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setImageURL{span}{span:id=iets|style=float: left;}\(url){span}{td}{tr}{tr:id=des}{td}{sub-section:7B3997DA-0463-4A49-92FA-4DFC99E8C71F_des|text=|trigger=button}{sub-section}{sub-section:7B3997DA-0463-4A49-92FA-4DFC99E8C71F_des|trigger=none|class=sIndent}Sets a new image for the agent.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:7B3997DA-0463-4A49-92FA-4DFC99E8C71F_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:7B3997DA-0463-4A49-92FA-4DFC99E8C71F_prs|trigger=none}url
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:7B3997DA-0463-4A49-92FA-4DFC99E8C71F_ret|text=|trigger=button}{sub-section}{sub-section:7B3997DA-0463-4A49-92FA-4DFC99E8C71F_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:7B3997DA-0463-4A49-92FA-4DFC99E8C71F_see|text=|trigger=button}{sub-section}{sub-section:7B3997DA-0463-4A49-92FA-4DFC99E8C71F_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:7B3997DA-0463-4A49-92FA-4DFC99E8C71F_see|text=|trigger=button}{sub-section}{sub-section:7B3997DA-0463-4A49-92FA-4DFC99E8C71F_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:7B3997DA-0463-4A49-92FA-4DFC99E8C71F_sam|text=|trigger=button}{sub-section}{sub-section:7B3997DA-0463-4A49-92FA-4DFC99E8C71F_sam|class=sIndent|trigger=none}{code:language=javascript}
plugins.agent.setImageURL("url")
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=E4FBEB09-BF29-49DE-B67E-1CE64337B095}{tr:id=name}{td}h6.setLocation{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setLocation{span}{span:id=iets|style=float: left;}\(x, y){span}{td}{tr}{tr:id=des}{td}{sub-section:E4FBEB09-BF29-49DE-B67E-1CE64337B095_des|text=|trigger=button}{sub-section}{sub-section:E4FBEB09-BF29-49DE-B67E-1CE64337B095_des|trigger=none|class=sIndent}Sets the location of the agent.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:E4FBEB09-BF29-49DE-B67E-1CE64337B095_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:E4FBEB09-BF29-49DE-B67E-1CE64337B095_prs|trigger=none}x
y
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:E4FBEB09-BF29-49DE-B67E-1CE64337B095_ret|text=|trigger=button}{sub-section}{sub-section:E4FBEB09-BF29-49DE-B67E-1CE64337B095_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:E4FBEB09-BF29-49DE-B67E-1CE64337B095_see|text=|trigger=button}{sub-section}{sub-section:E4FBEB09-BF29-49DE-B67E-1CE64337B095_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:E4FBEB09-BF29-49DE-B67E-1CE64337B095_see|text=|trigger=button}{sub-section}{sub-section:E4FBEB09-BF29-49DE-B67E-1CE64337B095_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:E4FBEB09-BF29-49DE-B67E-1CE64337B095_sam|text=|trigger=button}{sub-section}{sub-section:E4FBEB09-BF29-49DE-B67E-1CE64337B095_sam|class=sIndent|trigger=none}{code:language=javascript}
plugins.agent.setLocation(100,100);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=50A368C9-C74C-4545-8AFA-D298AE0E9568}{tr:id=name}{td}h6.setVisible{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setVisible{span}{span:id=iets|style=float: left;}\(visible){span}{td}{tr}{tr:id=des}{td}{sub-section:50A368C9-C74C-4545-8AFA-D298AE0E9568_des|text=|trigger=button}{sub-section}{sub-section:50A368C9-C74C-4545-8AFA-D298AE0E9568_des|trigger=none|class=sIndent}Show/hides the agent.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:50A368C9-C74C-4545-8AFA-D298AE0E9568_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:50A368C9-C74C-4545-8AFA-D298AE0E9568_prs|trigger=none}visible
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:50A368C9-C74C-4545-8AFA-D298AE0E9568_ret|text=|trigger=button}{sub-section}{sub-section:50A368C9-C74C-4545-8AFA-D298AE0E9568_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:50A368C9-C74C-4545-8AFA-D298AE0E9568_see|text=|trigger=button}{sub-section}{sub-section:50A368C9-C74C-4545-8AFA-D298AE0E9568_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:50A368C9-C74C-4545-8AFA-D298AE0E9568_see|text=|trigger=button}{sub-section}{sub-section:50A368C9-C74C-4545-8AFA-D298AE0E9568_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:50A368C9-C74C-4545-8AFA-D298AE0E9568_sam|text=|trigger=button}{sub-section}{sub-section:50A368C9-C74C-4545-8AFA-D298AE0E9568_sam|class=sIndent|trigger=none}{code:language=javascript}
plugins.agent.setVisible(true);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=8D3E8EA5-36E0-417A-BEFE-C3B9A646A39D}{tr:id=name}{td}h6.speak{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}speak{span}{span:id=iets|style=float: left;}\(message){span}{td}{tr}{tr:id=des}{td}{sub-section:8D3E8EA5-36E0-417A-BEFE-C3B9A646A39D_des|text=|trigger=button}{sub-section}{sub-section:8D3E8EA5-36E0-417A-BEFE-C3B9A646A39D_des|trigger=none|class=sIndent}Makes the agent speak.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:8D3E8EA5-36E0-417A-BEFE-C3B9A646A39D_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:8D3E8EA5-36E0-417A-BEFE-C3B9A646A39D_prs|trigger=none}message
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:8D3E8EA5-36E0-417A-BEFE-C3B9A646A39D_ret|text=|trigger=button}{sub-section}{sub-section:8D3E8EA5-36E0-417A-BEFE-C3B9A646A39D_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:8D3E8EA5-36E0-417A-BEFE-C3B9A646A39D_see|text=|trigger=button}{sub-section}{sub-section:8D3E8EA5-36E0-417A-BEFE-C3B9A646A39D_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:8D3E8EA5-36E0-417A-BEFE-C3B9A646A39D_see|text=|trigger=button}{sub-section}{sub-section:8D3E8EA5-36E0-417A-BEFE-C3B9A646A39D_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:8D3E8EA5-36E0-417A-BEFE-C3B9A646A39D_sam|text=|trigger=button}{sub-section}{sub-section:8D3E8EA5-36E0-417A-BEFE-C3B9A646A39D_sam|class=sIndent|trigger=none}{code:language=javascript}
plugins.agent.speak('hello nerd');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}