{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=B4022FFB-397C-4399-8471-AB1B5F61E303}{tr:id=name}{td}h6.x{td}{tr}{tr:id=des}{td}{sub-section:B4022FFB-397C-4399-8471-AB1B5F61E303_des|text=|trigger=button}{sub-section}{sub-section:B4022FFB-397C-4399-8471-AB1B5F61E303_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:B4022FFB-397C-4399-8471-AB1B5F61E303_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:B4022FFB-397C-4399-8471-AB1B5F61E303_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:B4022FFB-397C-4399-8471-AB1B5F61E303_ret|text=|trigger=button}{sub-section}{sub-section:B4022FFB-397C-4399-8471-AB1B5F61E303_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:B4022FFB-397C-4399-8471-AB1B5F61E303_see|text=|trigger=button}{sub-section}{sub-section:B4022FFB-397C-4399-8471-AB1B5F61E303_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:B4022FFB-397C-4399-8471-AB1B5F61E303_see|text=|trigger=button}{sub-section}{sub-section:B4022FFB-397C-4399-8471-AB1B5F61E303_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:B4022FFB-397C-4399-8471-AB1B5F61E303_sam|text=|trigger=button}{sub-section}{sub-section:B4022FFB-397C-4399-8471-AB1B5F61E303_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=13BDDDF5-AB3B-4FDC-8300-84973ED08CF1}{tr:id=name}{td}h6.y{td}{tr}{tr:id=des}{td}{sub-section:13BDDDF5-AB3B-4FDC-8300-84973ED08CF1_des|text=|trigger=button}{sub-section}{sub-section:13BDDDF5-AB3B-4FDC-8300-84973ED08CF1_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:13BDDDF5-AB3B-4FDC-8300-84973ED08CF1_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:13BDDDF5-AB3B-4FDC-8300-84973ED08CF1_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:13BDDDF5-AB3B-4FDC-8300-84973ED08CF1_ret|text=|trigger=button}{sub-section}{sub-section:13BDDDF5-AB3B-4FDC-8300-84973ED08CF1_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:13BDDDF5-AB3B-4FDC-8300-84973ED08CF1_see|text=|trigger=button}{sub-section}{sub-section:13BDDDF5-AB3B-4FDC-8300-84973ED08CF1_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:13BDDDF5-AB3B-4FDC-8300-84973ED08CF1_see|text=|trigger=button}{sub-section}{sub-section:13BDDDF5-AB3B-4FDC-8300-84973ED08CF1_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:13BDDDF5-AB3B-4FDC-8300-84973ED08CF1_sam|text=|trigger=button}{sub-section}{sub-section:13BDDDF5-AB3B-4FDC-8300-84973ED08CF1_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=95297FAE-40AE-498C-B134-06D1B3B4C707}{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:95297FAE-40AE-498C-B134-06D1B3B4C707_des|text=|trigger=button}{sub-section}{sub-section:95297FAE-40AE-498C-B134-06D1B3B4C707_des|trigger=none|class=sIndent}Sets the size of the balloon.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:95297FAE-40AE-498C-B134-06D1B3B4C707_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:95297FAE-40AE-498C-B134-06D1B3B4C707_prs|trigger=none}width
height
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:95297FAE-40AE-498C-B134-06D1B3B4C707_ret|text=|trigger=button}{sub-section}{sub-section:95297FAE-40AE-498C-B134-06D1B3B4C707_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:95297FAE-40AE-498C-B134-06D1B3B4C707_see|text=|trigger=button}{sub-section}{sub-section:95297FAE-40AE-498C-B134-06D1B3B4C707_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:95297FAE-40AE-498C-B134-06D1B3B4C707_see|text=|trigger=button}{sub-section}{sub-section:95297FAE-40AE-498C-B134-06D1B3B4C707_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:95297FAE-40AE-498C-B134-06D1B3B4C707_sam|text=|trigger=button}{sub-section}{sub-section:95297FAE-40AE-498C-B134-06D1B3B4C707_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=2E061DC2-7FBE-448B-8CDF-1DBCDE941DE1}{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:2E061DC2-7FBE-448B-8CDF-1DBCDE941DE1_des|text=|trigger=button}{sub-section}{sub-section:2E061DC2-7FBE-448B-8CDF-1DBCDE941DE1_des|trigger=none|class=sIndent}Sets a new image for the agent.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:2E061DC2-7FBE-448B-8CDF-1DBCDE941DE1_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:2E061DC2-7FBE-448B-8CDF-1DBCDE941DE1_prs|trigger=none}url
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:2E061DC2-7FBE-448B-8CDF-1DBCDE941DE1_ret|text=|trigger=button}{sub-section}{sub-section:2E061DC2-7FBE-448B-8CDF-1DBCDE941DE1_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:2E061DC2-7FBE-448B-8CDF-1DBCDE941DE1_see|text=|trigger=button}{sub-section}{sub-section:2E061DC2-7FBE-448B-8CDF-1DBCDE941DE1_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:2E061DC2-7FBE-448B-8CDF-1DBCDE941DE1_see|text=|trigger=button}{sub-section}{sub-section:2E061DC2-7FBE-448B-8CDF-1DBCDE941DE1_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:2E061DC2-7FBE-448B-8CDF-1DBCDE941DE1_sam|text=|trigger=button}{sub-section}{sub-section:2E061DC2-7FBE-448B-8CDF-1DBCDE941DE1_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=A1503217-1108-44DD-A484-AB3EDD778AD3}{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:A1503217-1108-44DD-A484-AB3EDD778AD3_des|text=|trigger=button}{sub-section}{sub-section:A1503217-1108-44DD-A484-AB3EDD778AD3_des|trigger=none|class=sIndent}Sets the location of the agent.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:A1503217-1108-44DD-A484-AB3EDD778AD3_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:A1503217-1108-44DD-A484-AB3EDD778AD3_prs|trigger=none}x
y
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:A1503217-1108-44DD-A484-AB3EDD778AD3_ret|text=|trigger=button}{sub-section}{sub-section:A1503217-1108-44DD-A484-AB3EDD778AD3_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:A1503217-1108-44DD-A484-AB3EDD778AD3_see|text=|trigger=button}{sub-section}{sub-section:A1503217-1108-44DD-A484-AB3EDD778AD3_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:A1503217-1108-44DD-A484-AB3EDD778AD3_see|text=|trigger=button}{sub-section}{sub-section:A1503217-1108-44DD-A484-AB3EDD778AD3_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:A1503217-1108-44DD-A484-AB3EDD778AD3_sam|text=|trigger=button}{sub-section}{sub-section:A1503217-1108-44DD-A484-AB3EDD778AD3_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=8013CFC1-BC68-443E-9892-5C1A5831EBAF}{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:8013CFC1-BC68-443E-9892-5C1A5831EBAF_des|text=|trigger=button}{sub-section}{sub-section:8013CFC1-BC68-443E-9892-5C1A5831EBAF_des|trigger=none|class=sIndent}Show/hides the agent.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:8013CFC1-BC68-443E-9892-5C1A5831EBAF_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:8013CFC1-BC68-443E-9892-5C1A5831EBAF_prs|trigger=none}visible
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:8013CFC1-BC68-443E-9892-5C1A5831EBAF_ret|text=|trigger=button}{sub-section}{sub-section:8013CFC1-BC68-443E-9892-5C1A5831EBAF_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:8013CFC1-BC68-443E-9892-5C1A5831EBAF_see|text=|trigger=button}{sub-section}{sub-section:8013CFC1-BC68-443E-9892-5C1A5831EBAF_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:8013CFC1-BC68-443E-9892-5C1A5831EBAF_see|text=|trigger=button}{sub-section}{sub-section:8013CFC1-BC68-443E-9892-5C1A5831EBAF_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:8013CFC1-BC68-443E-9892-5C1A5831EBAF_sam|text=|trigger=button}{sub-section}{sub-section:8013CFC1-BC68-443E-9892-5C1A5831EBAF_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=E58DE1F2-EB46-4764-B38B-D06C0ADACB4F}{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:E58DE1F2-EB46-4764-B38B-D06C0ADACB4F_des|text=|trigger=button}{sub-section}{sub-section:E58DE1F2-EB46-4764-B38B-D06C0ADACB4F_des|trigger=none|class=sIndent}Makes the agent speak.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:E58DE1F2-EB46-4764-B38B-D06C0ADACB4F_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:E58DE1F2-EB46-4764-B38B-D06C0ADACB4F_prs|trigger=none}message
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:E58DE1F2-EB46-4764-B38B-D06C0ADACB4F_ret|text=|trigger=button}{sub-section}{sub-section:E58DE1F2-EB46-4764-B38B-D06C0ADACB4F_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:E58DE1F2-EB46-4764-B38B-D06C0ADACB4F_see|text=|trigger=button}{sub-section}{sub-section:E58DE1F2-EB46-4764-B38B-D06C0ADACB4F_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:E58DE1F2-EB46-4764-B38B-D06C0ADACB4F_see|text=|trigger=button}{sub-section}{sub-section:E58DE1F2-EB46-4764-B38B-D06C0ADACB4F_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:E58DE1F2-EB46-4764-B38B-D06C0ADACB4F_sam|text=|trigger=button}{sub-section}{sub-section:E58DE1F2-EB46-4764-B38B-D06C0ADACB4F_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}